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>GXCompCnt</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">GXCompCnt</H1>
12<H2>Enumerated Types</H2>
13<DIV align="left">
14<TABLE border="0" width="100%">
15  <TBODY>
16    <TR>
17<TD width="100%"><CODE>GX_POS_XY</CODE></TD>
18    </TR>
19    <TR>
20<TD width="100%"><CODE>GX_POS_XYZ</CODE></TD>
21    </TR>
22    <TR>
23<TD width="100%"><CODE>GX_NRM_XYZ</CODE></TD>
24    </TR>
25    <TR>
26<TD width="100%"><CODE>GX_NRM_NBT</CODE></TD>
27    </TR>
28    <TR>
29<TD><CODE>GX_NRM_NBT3</CODE><B></B></TD>
30    </TR>
31    <TR>
32<TD width="100%"><CODE>GX_CLR_RGB</CODE></TD>
33    </TR>
34    <TR>
35<TD width="100%"><CODE>GX_CLR_RGBA</CODE></TD>
36    </TR>
37    <TR>
38<TD width="100%"><CODE>GX_TEX_S</CODE></TD>
39    </TR>
40    <TR>
41<TD width="100%"><CODE>GX_TEX_ST</CODE></TD>
42    </TR>
43  </TBODY>
44</TABLE>
45</DIV>
46<H2>Description</H2>
47<P>Number of components in an attribute.</P>
48<DIV align="left">
49<TABLE border="1" cellpadding="3" cellspacing="0">
50  <TBODY>
51    <TR>
52<TD><CODE>GX_POS_XY</CODE></TD>
53<TD>Two components of X,Y positions</TD>
54    </TR>
55    <TR>
56<TD><CODE>GX_POS_XYZ</CODE></TD>
57<TD>Three components of X,Y,Z positions</TD>
58    </TR>
59    <TR>
60<TD><CODE>GX_NRM_XYZ</CODE></TD>
61<TD>Three components of normal X,Y,Z</TD>
62    </TR>
63    <TR>
64<TD><CODE>GX_NRM_NBT</CODE></TD>
65<TD>Three components of normal, binormal, tangent</TD>
66    </TR>
67    <TR>
68<TD><CODE>GX_NRM_NBT3</CODE><B></B></TD>
69<TD>Three components of normal, binormal, tangent<BR>Use when NBT normal is indexed independently</TD>
70    </TR>
71    <TR>
72<TD><CODE>GX_CLR_RGB</CODE></TD>
73<TD>Three components of RGB</TD>
74    </TR>
75    <TR>
76<TD><CODE>GX_CLR_RGBA</CODE></TD>
77<TD>Four components of RGBA</TD>
78    </TR>
79    <TR>
80<TD><CODE>GX_TEX_S</CODE></TD>
81<TD>One element of texture coordinates</TD>
82    </TR>
83    <TR>
84<TD><CODE>GX_TEX_ST</CODE></TD>
85<TD>Two components of texture coordinates s,t</TD>
86    </TR>
87  </TBODY>
88</TABLE>
89</DIV>
90<H2>Functions Using This Type</H2>
91<P><a href="../Geometry/GXSetVtxAttrFmt.html">GXSetVtxAttrFmt</a><br> <a href="../Geometry/GXSetVtxAttrFmtv.html">GXSetVtxAttrFmtv</a><br> <br> <a href="../Structures/GXVtxAttrFmtList.html">GXVtxAttrFmtList</a></P>
92<H2>Revision History</H2>
93<P>2006/03/01 Initial version.</P>
94<hr>
95<P>CONFIDENTIAL</p>
96</BODY>
97</HTML>