#include <revolution/gd.h>
void GDSetTexImgAttr (
GXTexMapID id,
u16 width,
u16 height,
GXTexFmt format );
| id | The hardware texture map ID to change. |
|---|---|
| width | Width of the texture or LOD 0 for mipmap. Max value is 1024 Mipmap must be a power of two. |
| height | Height of the texture or LOD 0 for mipmap. Max value is 1024 Mipmap must be a power of two. |
format |
Texture format. |
None.
This function is used to set the image attributes for the specified hardware texture map ID. Unlike the GX library, which uses texture objects, GD functions set the hardware registers directly. The parameters of this function are all related to the physical description of the specified texture.
GXInitTexObj, GDSetTexLookupMode, GDSetTexImgPtr
2006/03/01 Initial version.
CONFIDENTIAL