#include <revolution/gx.h> void GXSetTevColor( GXTevRegID id, GXColor color );
| id | Color register id. Accepted values are: GX_TEVREG0, GX_TEVREG1, and GX_TEVREG2. |
|---|---|
color |
Constant color value. |
None.
This function is used to set one of the primary registers in the Texture Environment (TEV) unit. These registers are available to all TEV stages. At least one of these registers is used to pass the output of one TEV stage to the next in a multi-texture configuration. The application is responsible for allocating these registers, so no collisions occur in usage.
This function can only set unsigned 8-bit colors. To set signed 10-bit colors, use the GXSetTexColorS10 function.
GXSetTevColorIn, GXSetTevAlphaIn, GXSetTevColorS10
2006/03/01 Initial version.
CONFIDENTIAL