Texture description.
Provides sufficient information to describe how a block of data can be interpreted as a texture.
#include <MTextureManager.h>
Public Member Functions |
|
void | setToDefault2DTexture () |
Utility to set texture description to
describe a 0 size 2-dimensional texture. |
|
Public Attributes |
|
unsigned int | fWidth |
Width in pixels. |
|
unsigned int | fHeight |
Height in pixels. |
|
unsigned int | fDepth |
Depth in pixels. |
|
unsigned int | fBytesPerRow |
Number of bytes in a row of pixels. |
|
unsigned int | fBytesPerSlice |
Number of bytes in a slice (if an
array) |
|
unsigned int | fMipmaps |
Number of mipmap levels. |
|
unsigned int | fArraySlices |
Number of array slices. |
|
MRasterFormat | fFormat |
Pixel / raster format. |
|
MTextureType | fTextureType |
Type of texture. |
|
MEnvironmentMapType | fEnvMapType |
Type of environment mapping. |
unsigned int fDepth |
unsigned int fMipmaps |
unsigned int fArraySlices |