1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<TITLE>GXSetTevKAlphaSel</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">GXSetTevKAlphaSel</H1> 12<H2>C Specification</H2> 13<DL> 14 <DD> 15 <PRE><CODE>#include <revolution/gx.h></CODE></PRE> 16 <DD> 17 <PRE><CODE>void GXSetTevKAlphaSel( 18 <A href="../Enumerated_Types/GXTevStageID.html">GXTevStageID</A> stage, 19 <A href="../Enumerated_Types/GXTevKAlphaSel.html">GXTevKAlphaSel</A> sel );</CODE></PRE> 20</DL> 21<H2>Arguments</H2> 22<TABLE border="1" cellspacing="0.1" cellpadding="3"> 23 <TBODY> 24 <TR> 25<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>stage</FONT></STRONG></EM></TD> 26<TD width="520">name of the TEV <a href="../Enumerated_Types/GXTevStageID.html">stage</a><BR>Accepted values are: <code>GX_TEVSTAGE0</code>, <code>GX_TEVSTAGE1</code>, <code>GX_TEVSTAGE2</code> through <code>GX_TEVSTAGE15</code>.</TD> 27 </TR> 28 <TR> 29<TD width="120" valign="top" bgcolor="#ffffe8"><EM><STRONG><CODE>sel</FONT></STRONG></EM></TD> 30<TD width="520">selects the constant <a href="../Enumerated_Types/GXTevKAlphaSel.html">alpha</a> to be used for this stage <BR>Accepted values are:<BR> 31 <TABLE border="1" width="500" cellspacing="0.1"> 32 33 <tr> 34<TD bgcolor="#C0C0C0" width="150">Name</TD> 35<TD width="350" bgcolor="#C0C0C0">Constant Alpha Source</TD> 36 </tr> 37 <tr> 38<TD width="150"><code> GX_TEV_KASEL_K0_R</code></TD> 39<TD width="350">constant color register 0 (red)</TD> 40 </tr> 41 <tr> 42<TD width="150"><code>GX_TEV_KASEL_K1_R</code></TD> 43<TD width="350">constant color register 1 (red)</TD> 44 </tr> 45 <tr> 46<TD width="150"><code>GX_TEV_KASEL_K2_R</code></TD> 47<TD width="350">constant color register 2 (red)</TD> 48 </tr> 49 <tr> 50<TD width="150"><code>GX_TEV_KASEL_K3_R</code></TD> 51<TD width="350">constant color register 3 (red)</TD> 52 </tr> 53 <tr> 54<TD width="150"><code>GX_TEV_KASEL_K0_G</code></TD> 55<TD width="350">constant color register 0 (green)</TD> 56 </tr> 57 <tr> 58<TD width="150"><code>GX_TEV_KASEL_K1_G</code></TD> 59<TD width="350">constant color register 1 (green)</TD> 60 </tr> 61 <tr> 62<TD width="150"><code>GX_TEV_KASEL_K2_G</code></TD> 63<TD width="350">constant color register 2 (green)</TD> 64 </tr> 65 <tr> 66<TD width="150"><code>GX_TEV_KASEL_K3_G</code></TD> 67<TD width="350">constant color register 3 (green)</TD> 68 </tr> 69 <tr> 70<TD width="150"><code>GX_TEV_KASEL_K0_B</code></TD> 71<TD width="350">constant color register 0 (blue)</TD> 72 </tr> 73 <tr> 74<TD width="150"><code>GX_TEV_KASEL_K1_B</code></TD> 75<TD width="350">constant color register 1 (blue)</TD> 76 </tr> 77 <tr> 78<TD width="150"><code>GX_TEV_KASEL_K2_B</code></TD> 79<TD width="350">constant color register 2 (blue)</TD> 80 </tr> 81 <tr> 82<TD width="150"><code>GX_TEV_KASEL_K3_B</code></TD> 83<TD width="350">constant color register 3 (blue)</TD> 84 </tr> 85 <tr> 86<TD width="150"><code>GX_TEV_KASEL_K0_A</code></TD> 87<TD width="350">constant color register 0 (alpha)</TD> 88 </tr> 89 <tr> 90<TD width="150"><code>GX_TEV_KASEL_K1_A </code></TD> 91<TD width="350">constant color register 1 (alpha)</TD> 92 </tr> 93 <tr> 94<TD width="150"><code>GX_TEV_KASEL_K2_A</code></TD> 95<TD width="350">constant color register 2 (alpha)</TD> 96 </tr> 97 <tr> 98<TD width="150"><code>GX_TEV_KASEL_K3_A </code></TD> 99<TD width="350">constant color register 3 (alpha)</TD> 100 </tr> 101 <tr> 102<TD width="150"><code>GX_TEV_KASEL_8_8<BR> GX_TEV_KASEL_1</code></TD> 103<TD width="350">fixed constant 1</TD> 104 </tr> 105 <tr> 106<TD width="150"><code>GX_TEV_KASEL_7_8 </code></TD> 107<TD width="350">fixed constant 7/8</TD> 108 </tr> 109 <tr> 110<TD width="150"><code>GX_TEV_KASEL_6_8</code><BR> <code>GX_TEV_KASEL_3_4</code></TD> 111<TD width="350">fixed constant 3/4</TD> 112 </tr> 113 <tr> 114<TD width="150"><code>GX_TEV_KASEL_5_8</code></TD> 115<TD width="350">fixed constant 5/8</TD> 116 </tr> 117 <tr> 118<TD width="150"><code>GX_TEV_KASEL_4_8<BR> GX_TEV_KASEL_1_2 </code></TD> 119<TD width="350">fixed constant 1/2</TD> 120 </tr> 121 <tr> 122<TD width="150"><code>GX_TEV_KASEL_3_8</code></TD> 123<TD width="350">fixed constant 3/8</TD> 124 </tr> 125 <tr> 126<TD width="150"><code>GX_TEV_KASEL_2_8<BR> GX_TEV_KASEL_1_4</code></TD> 127<TD width="350">fixed constant 1/4</TD> 128 </tr> 129 <tr> 130<TD width="150"><code>GX_TEV_KASEL_1_8</code></TD> 131<TD width="350">fixed constant 1/8</TD> 132 </tr> 133 134 </TABLE> 135 </TD> 136 </TR> 137 </TBODY> 138</TABLE> 139<H2>Return Values</H2> 140<P>None.</P> 141<H2>Description</H2> 142<P>This function selects the constant alpha input to be used on the given TEV stage. The constant alpha input is only used when <CODE>GX_CA_KONST</CODE> is selected as that TEV stage input. It can be used for one or more inputs, but only one constant alpha input can be used for one TEV stage.</P> 143<H2>See Also</H2> 144<P><A href="GXSetTevAlphaIn.html"><CODE>GXSetTevAlphaIn</CODE></A><BR> <A href="GXSetTevKColor.html"><CODE>GXSetTevKColor</CODE></A></P> 145<H2>Revision History</H2> 146<P>2006/03/01 Initial version.</P> 147<hr> 148<P>CONFIDENTIAL</p> 149</BODY> 150</HTML> 151