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 13<H2>Enumerated Types</H2> 14<DIV align="left"> 15<TABLE border="0" width="100%"> 16 <TBODY> 17 <TR> 18 <TD width="100%"><CODE>GX_POS_XY</CODE></TD> 19 </TR> 20 <TR> 21 <TD width="100%"><CODE>GX_POS_XYZ</CODE></TD> 22 </TR> 23 <TR> 24 <TD width="100%"><CODE>GX_NRM_XYZ</CODE></TD> 25 </TR> 26 <TR> 27 <TD width="100%"><CODE>GX_NRM_NBT</CODE></TD> 28 </TR> 29 <TR> 30 <TD width="100%"><CODE>GX_NRM_NBT3</CODE></TD> 31 </TR> 32 <TR> 33 <TD width="100%"><CODE>GX_CLR_RGB</CODE></TD> 34 </TR> 35 <TR> 36 <TD width="100%"><CODE>GX_CLR_RGBA</CODE></TD> 37 </TR> 38 <TR> 39 <TD width="100%"><CODE>GX_TEX_S</CODE></TD> 40 </TR> 41 <TR> 42 <TD width="100%"><CODE>GX_TEX_ST</CODE></TD> 43 </TR> 44 </TBODY> 45</TABLE> 46</DIV> 47 48<H2>Description</H2> 49<P>Number of components in an attribute.</P> 50<DIV align="left"> 51<TABLE class="arguments" border="1" > 52 <TBODY> 53 <TR> 54<TH>GX_POS_XY</TH> 55<TD>Position X, Y (two components).</TD> 56 </TR> 57 <TR> 58<TH>GX_POS_XYZ</TH> 59<TD>Position X, Y, Z (three components).</TD> 60 </TR> 61 <TR> 62<TH>GX_NRM_XYZ</TH> 63<TD>Normal X, Y, Z (three components).</TD> 64 </TR> 65 <TR> 66<TH>GX_NRM_NBT</TH> 67<TD>Normal, binormal, tangent (three components).</TD> 68 </TR> 69 <TR> 70<TH>GX_NRM_NBT3</TH> 71<TD>Normal, binormal, tangent (three components). Use when NBT normal is indexed independently.</TD> 72 </TR> 73 <TR> 74<TH>GX_CLR_RGB</TH> 75<TD>RGB (three components).</TD> 76 </TR> 77 <TR> 78<TH>GX_CLR_RGBA</TH> 79<TD>RGBA (four components).</TD> 80 </TR> 81 <TR> 82<TH>GX_TEX_S</TH> 83<TD>Texture coordinate S (one component).</TD> 84 </TR> 85 <TR> 86<TH>GX_TEX_ST</TH> 87<TD>Texture coordinates S, T (two components).</TD> 88 </TR> 89 </TBODY> 90</TABLE> 91</DIV> 92 93<H2>Functions Using This Type</H2> 94<P class="reference"> 95<A href="../Geometry/GXSetVtxAttrFmt.html">GXSetVtxAttrFmt</A>, 96<A href="../Geometry/GXSetVtxAttrFmtv.html">GXSetVtxAttrFmtv</A>, 97<A href="../Structures/GXVtxAttrFmtList.html">GXVtxAttrFmtList</A> 98</P> 99 100<H2>Revision History</H2> 101<P> 1022006/03/01 Initial version.<br> 103</P> 104 105<hr><p>CONFIDENTIAL</p></body> 106</HTML>