GXSetTevKColorSel

C Specification

#include <revolution/gx.h>
void GXSetTevKColorSel(
GXTevStageID     stage,
GXTevKColorSel   sel );

Arguments

stage name of the TEV stage
Accepted values are: GX_TEVSTAGE0, GX_TEVSTAGE1, GX_TEVSTAGE2 through GX_TEVSTAGE15.
sel selects the constant color to be used for this stage
Accepted values are:
Name Constant Color Source
GX_TEV_KCSEL_K0 constant color register 0 (RGB)
GX_TEV_KCSEL_K1 constant color register 1 (RGB)
GX_TEV_KCSEL_K2 constant color register 2 (RGB)
GX_TEV_KCSEL_K3 constant color register 3 (RGB)
The following sets a single value to all three components.
GX_TEV_KCSEL_K0_R constant color register 0 (RRR)
GX_TEV_KCSEL_K1_R constant color register 1 (RRR)
GX_TEV_KCSEL_K2_R constant color register 2 (RRR)
GX_TEV_KCSEL_K3_R constant color register 3 (RRR)
GX_TEV_KCSEL_K0_G constant color register 0 (GGG)
GX_TEV_KCSEL_K1_G constant color register 1 (GGG)
GX_TEV_KCSEL_K2_G constant color register 2 (GGG)
GX_TEV_KCSEL_K3_G constant color register 3 (GGG)
GX_TEV_KCSEL_K0_B constant color register 0 (BBB)
GX_TEV_KCSEL_K1_B constant color register 1 (BBB)
GX_TEV_KCSEL_K2_B constant color register 2 (BBB)
GX_TEV_KCSEL_K3_B constant color register 3 (BBB)
GX_TEV_KCSEL_K0_A constant color register 0 (AAA)
GX_TEV_KCSEL_K1_A constant color register 1 (AAA)
GX_TEV_KCSEL_K2_A constant color register 2 (AAA)
GX_TEV_KCSEL_K3_A constant color register 3 (AAA)
GX_TEV_KCSEL_8_8
GX_TEV_KCSEL_1
fixed constant 1
GX_TEV_KCSEL_7_8 fixed constant 7/8
GX_TEV_KCSEL_6_8
GX_TEV_KCSEL_3_4
fixed constant 3/4
GX_TEV_KCSEL_5_8 fixed constant 5/8
GX_TEV_KCSEL_4_8
GX_TEV_KCSEL_1_2
fixed constant 1/2
GX_TEV_KCSEL_3_8 fixed constant 3/8
GX_TEV_KCSEL_2_8
GX_TEV_KCSEL_1_4
fixed constant 1/4
GX_TEV_KCSEL_1_8 fixed constant 1/8

Return Values

None.

Description

This function selects the constant color input to be used on the given TEV stage. The constant color input is only used when GX_CC_KONST is selected as the TEV stage input. Only one constant color selection is available for a given TEV stage, though it may be used for more than one input.

See Also

GXSetTevColorIn
GXSetTevKColor

Revision History

03/01/2006 Initial version.