#include <revolution/gx.h>void GXSetNumTexGens( u8 nTexGens );nTexGens |
Number of texture coordinates to generate. The minimum value is 0 and the maximum value is 8. |
None.
This function sets the number of texture coordinates that are generated and available for use in the Texture Environment (TEV) stages. Texture coordinates are generated from input data as described by GXSetTexCoordGen. The generated texture coordinates are linked to specific textures and specific Texture Environment (TEV) stages using GXSetTevOrder.
A consecutive number of texture coordinates may be generated, starting at GX_TEXCOORD0. A maximum of eight texture coordinates may be generated. If nTexGens is set to 0, no texture coordinates will be generated. In this case, at least one color channel must be output. For more information, see GXSetNumChans.
GXSetTexCoordGen
GXSetTexCoordGen2
GXSetTevOrder
2006/03/01 Initial version.
CONFIDENTIAL