GXSetTevColorS10

C Specification

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

Arguments

id Color register id. Accepted values are: GX_TEVREG0, GX_TEVREG1, GX_TEVREG2.
color Constant color value. Each color component accepts the following range: -1024 to +1023.

Return Values

None.

Description

This function sets one of the constant 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 in usage occur.

This function enables the color components to be signed 10-bit numbers (sign 1bit + 10bit = total 11bit). To set 8-bit unsigned colors (the most common), use GXSetTevColor.

See Also

GXSetTevColorIn
GXSetTevAlphaIn
GXSetTevColor

Revision History

2006/03/01 Initial version.


CONFIDENTIAL