C4 Engine
C4 Engine API Documentation

Texture::GetTextureHeader

Defined in:  C4Textures.h
Returns the TextureHeader data structure for a texture object.
Prototype

const TextureHeader *GetTextureHeader(voidconst;

Description
The GetTextureHeader function returns a pointer to the texture header for a texture object created from an image in memory. The return value is the pointer that was passed to the header parameter of the Texture::GetTexture function. If the texture object was created from a resource, then the return value is nullptr.
See Also

TextureHeader

Texture::GetImagePointer