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
13<H2>Syntax</H2>
14<dl><dd><pre class="construction">
15#include &lt;revolution/gx.h&gt;
16
17void GXSetVtxAttrFmtv(
18    <A href="../Enumerated_Types/GXVtxFmt.html">GXVtxFmt</A>                 vtxfmt,
19    const <A href="../Structures/GXVtxAttrFmtList.html">GXVtxAttrFmtList</A>*  list );
20</pre></dd></dl>
21
22<H2>Arguments</H2>
23<TABLE class="arguments" border="1" >
24  <TBODY>
25    <TR>
26<TH>vtxfmt</TH>
27<TD>Specifies the vertex format <A href="../Enumerated_Types/GXVtxFmt.html">number</A>.</TD>
28    </TR>
29    <TR>
30<TH>list</TH>
31<TD>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"><CODE>attr</CODE></A>, <A href="../Enumerated_Types/GXCompCnt.html"><CODE>cnt</CODE></A>, <A href="../Enumerated_Types/GXCompType.html"><CODE>type</CODE></A>, and <CODE>frac</CODE>}).&nbsp; </TD>
32    </TR>
33  </TBODY>
34</TABLE>
35
36<H2>Return Values</H2>
37<P>None.</P>
38
39<H2>Description</H2>
40<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>
41<P>Use the constant <code>GX_MAX_VTXATTRFMTLIST_SZ</code> to allocate the list. You can use the <CODE>GXGetVtxAttrFmtv</CODE> function to get the current vertex format.</P>
42
43<H2>See Also</H2>
44<P class="reference">
45<A href="GXSetVtxAttrFmt.html">GXSetVtxAttrFmt</A>
46</P>
47
48<H2>Revision History</H2>
49<P>
502006/03/01 Initial version.<br>
51</P>
52
53<hr><p>CONFIDENTIAL</p></body>
54</HTML>