GetMipmapSize
This function returns the size of a texture mipmap's data. This can be used to ensure a buffer's data size is correct when calling Texture::SetPixels().
Syntax
- number GetMipmapSize(number miplevel=0)
Parameters
- miplevel: the mipmap level to return the data size of.
Returns
Returns the size of the data for the specified mipmap level.