1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>GXGetVtxDesc</title> 10</head> 11 12<body> 13 14<h1 align="left">GXGetVtxDesc</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/gx.h> 19 20void GXGetVtxDesc( <a href="../Enumerated_Types/GXAttr.html">GXAttr</a> attr, <a href="../Enumerated_Types/GXAttrType.html">GXAttrType</a>* type ); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH>attr</TH> 27<TD>Specifies the name of the <A href="../Enumerated_Types/GXAttr.html">attribute</A>.</TD> 28 </tr> 29 <tr> 30<TH>type</TH> 31<TD>Pointer that returns the type of the attribute.</TD> 32 </tr> 33</TABLE> 34 35<h2>Return Values</h2> 36<p>None.</p> 37 38<H2>Description</H2> 39<P>This function gets the <SPAN class="argument">type</SPAN> of a single attribute (<SPAN class="argument">attr</SPAN>) in the current vertex descriptor. The vertex descriptor defines which attributes are present in a vertex and how each attribute is referenced. The vertex descriptor is used by the graphics processor to interpret the graphics command stream produced by the GX APIs. The vertex descriptor is primarily used to parse the vertex data that is present in the command stream.</P> 40<P>The <SPAN class="argument">attr</SPAN> argument specifies the attribute.</P> 41 42<h2>See Also</h2> 43<p class="reference"> 44<a href="GXClearVtxDesc.html">GXClearVtxDesc</a>, 45<a href="GXSetVtxDescv.html">GXSetVtxDescv</a>, 46<a href="GXSetVtxAttrFmt.html">GXSetVtxAttrFmt</a>, 47<a href="GXSetVtxAttrFmtv.html">GXSetVtxAttrFmtv</a>, 48<a href="GXSetArray.html">GXSetArray</a>, 49<a href="GXPosition.html">GXPosition</a>, 50<a href="GXColor.html">GXColor</a>, 51<a href="GXNormal.html">GXNormal</a>, 52<a href="GXTexCoord.html">GXTexCoord</a>, 53<a href="GXMatrixIndex.html">GXMatrixIndex</a>, 54<a href="GXBegin.html">GXBegin</a> 55</p> 56 57<H2>Revision History</H2> 58<P> 592006/03/01 Initial version.<br> 60</P> 61 62<hr><p>CONFIDENTIAL</p></body> 63</HTML>