#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: 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: GX_TEV_SWAP0, GX_TEV_SWAP1, GX_TEV_SWAP2, GX_TEV_SWAP3. |
None.
This function selects the swap mode settings for rasterized 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. Each entry in the table specifies how the RGBA inputs map to the RGBA outputs. For more information, see the GXSetTevSwapModeTable function.
GXSetTevSwapModeTableGXSetTevColorIn
GXSetTevAlphaIn
2006/03/01 Initial version
CONFIDENTIAL