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>GXSetVtxAttrFmtv</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">GXSetVtxAttrFmtv</H1>
12<H2>C Specification</H2>
13<DL>
14  <DD>
15<PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE>
16  <DD>
17<PRE><CODE>void GXSetVtxAttrFmtv(
18<a href="../Enumerated_Types/GXVtxFmt.html">GXVtxFmt</a>        <em>vtxfmt</em>,
19const <a href="../Structures/GXVtxAttrFmtList.html">GXVtxAttrFmtList</a>* <em> list</em> );</CODE></PRE>
20</DL>
21<H2>Arguments</H2>
22<TABLE border="1" cellspacing="0.1" cellpadding="3">
23  <TBODY>
24    <TR>
25<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>vtxfmt</CODE></STRONG></EM></TD>
26<TD width="520">Specifies the vertex format <a href="../Enumerated_Types/GXVtxFmt.html">number</a></TD>
27    </TR>
28    <TR>
29<TD width="120" bgcolor="#ffffe8"><EM><STRONG><CODE>list</CODE></STRONG></EM></TD>
30<TD width="520">Specifies a pointer to an array of <a href="../Structures/GXVtxAttrFmtList.html"><code>GXVtxAttrFmtList</code></a> structures (a list of {<a href="../Enumerated_Types/GXAttr.html">attr</a>, <a href="../Enumerated_Types/GXCompCnt.html">cnt</a>, <a href="../Enumerated_Types/GXCompType.html">type</a>, frac})</TD>
31    </TR>
32  </TBODY>
33</TABLE>
34<H2>Return Values</H2>
35<P>None.</P>
36<H2>Description</H2>
37<P>This function sets multiple <em>attribute formats</em> within a single vertex format. This is useful when you need to set all the attributes in a vertex format at once (e.g., during graphics initialization).</P>
38<P>Use the constant <code>GX_MAX_VTXATTRFMTLIST_SZ</code> to allocate the list. You can get a current vertex format using <a href="GXGetVtxAttrFmtv.html"><code>GXGetVtxAttrFmtv</code></a>.</P>
39<H2>See Also</H2>
40<P><A href="GXSetVtxAttrFmt.html"><CODE>GXSetVtxAttrFmt</CODE></A></P>
41<H2>Revision History</H2>
42<P>03/01/2006 Initial version.</P>
43</BODY>
44</HTML>