![]() |
• Graphics Manager | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
API Links
Developer Links
|
struct TextureHeaderDefined in:
The C4Textures.hTextureHeader structure contains information about a texture map.
Definition
Data Members
Description
The TextureHeader structure contains information about a texture map and is useful when creating a texture image in memory. A texture header can be filled in and passed to the Texture::Get function to create a new texture object.The textureType member can be one of the following values.
textureFlags member can be a combination (through logical OR) of the following values.
colorSemantic and alphaSemantic members denote the type of information that is stored in the color channels and the alpha channel of the texture image, respectively. They can each be one of the following values.
imageFormat member can be one of the following values.
wrapMode array contains the wrap mode for each of the three texture mapping axes. They can each be one of the following values unless textureType is kTextureRectangle, in which case the wrap modes must all be kTextureClamp.
See Also
|