#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 sets one of the primary color 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 GXSetTexColorS10.
GXSetTevColorIn
GXSetTevAlphaIn
GXSetTevColorS10
03/01/2006 Initial version.