GXSetTevColor

C Specification

#include <revolution/gx.h>
void GXSetTevColor( GXTevRegID id, GXColor color );

Arguments

id Color register id. Accepted values are: GX_TEVREG0, GX_TEVREG1, and GX_TEVREG2.
color Constant color value.

Return Values

None.

Description

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 the 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.

See Also

GXSetTevColorIn
GXSetTevAlphaIn
GXSetTevColorS10

Revision History

2006/03/01 Initial version.


CONFIDENTIAL