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
13<H2>Syntax</H2>
14<dl><dd><pre class="construction">
15#include &lt;revolution/gx.h&gt;
16
17void GXSetTevKAlphaSel(
18    <A href="../Enumerated_Types/GXTevStageID.html">GXTevStageID</A>     stage,
19    <A href="../Enumerated_Types/GXTevKAlphaSel.html">GXTevKAlphaSel</A>   sel );
20</pre></dd></dl>
21
22<H2>Arguments</H2>
23<TABLE class="arguments" border="1" >
24  <TBODY>
25    <TR>
26<TH><STRONG><EM><CODE>stage</CODE></EM></STRONG></TH>
27<TD>Name of the TEV <A href="../Enumerated_Types/GXTevStageID.html">stage</A>. Accepted values are: <code>GX_TEVSTAGE0</code>, <code>GX_TEVSTAGE1</code>, <code>GX_TEVSTAGE2</code>, ... , <code>GX_TEVSTAGE15</code>.</TD>
28    </TR>
29    <TR>
30<TH><em><strong><code>sel</code></strong></em></TH>
31<TD>Selects the constant <A href="../Enumerated_Types/GXTevKAlphaSel.html">alpha</A> to be used for this stage. Accepted values are:<BR>
32      <TABLE class="arguments" border="1" >
33          <tr>
34<TD bgcolor="#C0C0C0">Name</TD>
35<TD bgcolor="#C0C0C0">Constant Alpha Source</TD>
36          </tr>
37          <tr>
38<TH>GX_TEV_KASEL_K0_R</TH>
39<TD>Constant color register 0 (Red).</TD>
40          </tr>
41          <tr>
42<TH>GX_TEV_KASEL_K1_R</TH>
43<TD>Constant color register 1 (Red).</TD>
44          </tr>
45          <tr>
46<TH>GX_TEV_KASEL_K2_R</TH>
47<TD>Constant color register 2 (Red).</TD>
48          </tr>
49          <tr>
50<TH>GX_TEV_KASEL_K3_R</TH>
51<TD>Constant color register 3 (Red).</TD>
52          </tr>
53          <tr>
54<TH>GX_TEV_KASEL_K0_G</TH>
55<TD>Constant color register 0 (Green).</TD>
56          </tr>
57          <tr>
58<TH>GX_TEV_KASEL_K1_G</TH>
59<TD>Constant color register 1 (Green).</TD>
60          </tr>
61          <tr>
62<TH>GX_TEV_KASEL_K2_G</TH>
63<TD>Constant color register 2 (Green).</TD>
64          </tr>
65          <tr>
66<TH>GX_TEV_KASEL_K3_G</TH>
67<TD>Constant color register 3 (Green).</TD>
68          </tr>
69          <tr>
70<TH>GX_TEV_KASEL_K0_B</TH>
71<TD>Constant color register 0 (Blue).</TD>
72          </tr>
73          <tr>
74<TH>GX_TEV_KASEL_K1_B</TH>
75<TD>Constant color register 1 (Blue).</TD>
76          </tr>
77          <tr>
78<TH>GX_TEV_KASEL_K2_B</TH>
79<TD>Constant color register 2 (Blue).</TD>
80          </tr>
81          <tr>
82<TH>GX_TEV_KASEL_K3_B</TH>
83<TD>Constant color register 3 (Blue).</TD>
84          </tr>
85          <tr>
86<TH>GX_TEV_KASEL_K0_A</TH>
87<TD>Constant color register 0 (Alpha).</TD>
88          </tr>
89          <tr>
90<TH>GX_TEV_KASEL_K1_A</TH>
91<TD>Constant color register 1 (Alpha).</TD>
92          </tr>
93          <tr>
94<TH>GX_TEV_KASEL_K2_A</TH>
95<TD>Constant color register 2 (Alpha).</TD>
96          </tr>
97          <tr>
98<TH>GX_TEV_KASEL_K3_A</TH>
99<TD>Constant color register 3 (Alpha).</TD>
100          </tr>
101          <tr>
102<TH>GX_TEV_KASEL_8_8<BR> GX_TEV_KASEL_1</TH>
103<TD>fixed constant 1</TD>
104          </tr>
105          <tr>
106<TH>GX_TEV_KASEL_7_8 </TH>
107<TD>fixed constant 7/8</TD>
108          </tr>
109          <tr>
110<TH>GX_TEV_KASEL_6_8<BR> GX_TEV_KASEL_3_4</TH>
111<TD>fixed constant 3/4</TD>
112          </tr>
113          <tr>
114<TH>GX_TEV_KASEL_5_8</TH>
115<TD>fixed constant 5/8</TD>
116          </tr>
117          <tr>
118<TH>GX_TEV_KASEL_4_8<BR> GX_TEV_KASEL_1_2  </TH>
119<TD>fixed constant 1/2</TD>
120          </tr>
121          <tr>
122<TH>GX_TEV_KASEL_3_8</TH>
123<TD>fixed constant 3/8</TD>
124          </tr>
125          <tr>
126<TH>GX_TEV_KASEL_2_8<BR> GX_TEV_KASEL_1_4</TH>
127<TD>fixed constant 1/4</TD>
128          </tr>
129          <tr>
130<TH>GX_TEV_KASEL_1_8</TH>
131<TD>fixed constant 1/8</TD>
132          </tr>
133      </TABLE>
134      </TD>
135    </TR>
136  </TBODY>
137</TABLE>
138
139<H2>Return Values</H2>
140<P>None.</P>
141
142<H2>Description</H2>
143<P>This function selects the alpha input constant 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>
144
145<H2>See Also</H2>
146<P class="reference">
147<A href="GXSetTevAlphaIn.html">GXSetTevAlphaIn</A>,
148<A href="GXSetTevKColor.html">GXSetTevKColor</A>
149</P>
150
151<H2>Revision History</H2>
152<P>
1532006/03/01 Initial version.<br>
154</P>
155
156<hr><p>CONFIDENTIAL</p></body>
157</HTML>