#include <revolution/gx.h>
void GXSetTevSwapMode(
GXTevStageID stage,
GXTevSwapSel ras_sel,
GXTevSwapSel tex_sel );
stage |
Name of the TEV stage. Accepted values are: GX_TEVSTAGE0, GX_TEVSTAGE1, GX_TEVSTAGE2, ... , GX_TEVSTAGE15. |
|---|---|
ras_sel |
Selects a swap mode for the rasterized color input. Accepted values are: Accepted values are: GX_TEV_SWAP0, GX_TEV_SWAP1, GX_TEV_SWAP2, GX_TEV_SWAP3. |
tex_sel |
Selects a swap mode for the texture color input. Accepted values are: Accepted values are: GX_TEV_SWAP0, GX_TEV_SWAP1, GX_TEV_SWAP2, GX_TEV_SWAP3. |
None.
This function selects the swap mode settings for rasterize color inputs and texture color inputs for the given TEV stage. This can be used to re-order or duplicate the input color components.
There are four different swap mode table entries. The table specifies how each entry's RGBA input maps to RGBA output. For more information, see the GXSetTevSwapModeTable function.
GXSetTevSwapModeTable, GXSetTevColorIn, GXSetTevAlphaIn
2006/03/01 Initial version.
CONFIDENTIAL