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>C Specification</h2>
17
18<dl>
19<dd><pre><CODE>#include &lt;revolution/gx.h&gt;</CODE></pre>
20  </dd>
21<dd><pre><CODE>void GXGetVtxDesc( <a href="../Enumerated_Types/GXAttr.html">GXAttr</a> <em>attr</em>, <a href="../Enumerated_Types/GXAttrType.html">GXAttrType</a>* <em>type</em> );</CODE></pre>
22  </dd>
23</dl>
24
25<h2><a name="Arguments">Arguments</a></h2>
26<TABLE border="1" cellpadding="3" cellspacing="0.1">
27  <tr>
28<TD width="120" valign="top" bgcolor="#ffffe8"><a name="attr"><em><strong><CODE>attr</font></strong></em></a></TD>
29<TD width="520">Specifies the name of the <a href="../Enumerated_Types/GXAttr.html">attribute</a></TD>
30    </tr>
31  <tr>
32<TD width="120" valign="top" bgcolor="#ffffe8"><em><strong><CODE>type</font></strong></em></TD>
33<TD width="520">Pointer that returns the type of the attribute</TD>
34    </tr>
35</TABLE>
36<h2>Return Values</h2>
37
38<p>None.</p>
39<H2>Description</H2>
40<P>This function gets the <code><em><strong>type</strong></em></code> of a single attribute (<em><code><strong>attr</strong></code></em>) in the current vertex descriptor.&nbsp;The vertex descriptor defines which attributes are present in a vertex and how each attribute is referenced.&nbsp;The vertex descriptor is used by the graphics processor to interpret the graphics command stream produced by <code>GX API</code>. The vertex descriptor is primarily used to parse the vertex data that is present in the command stream.</P>
41<P>The <code><em><strong>attr</strong></em></code> parameter names the attribute.</P>
42
43<h2>See Also</h2>
44
45<p><a href="GXSetVtxDesc.html">GXClearVtxDesc</a><br> <a href="GXSetVtxDescv.html">GXSetVtxDescv</a><br> <a href="GXSetVtxAttrFmt.html">GXSetVtxAttrFmt</a><br> <a href="GXSetVtxAttrFmtv.html">GXSetVtxAttrFmtv</a><br> <a href="GXSetArray.html">GXSetArray</a><br> <a href="GXPosition.html">GXPosition</a><br> <a href="GXColor.html">GXColor</a><br> <a href="GXNormal.html">GXNormal</a><br> <a href="GXTexCoord.html">GXTexCoord</a><br> <a href="GXMatrixIndex.html">GXMatrixIndex</a><br> <a href="GXBegin.html">GXBegin</a></p>
46<H2>Revision History</H2>
47<P>03/01/2006 Initial version.</P>
48</BODY>
49</HTML>