GXSetVtxAttrFmtv

C Specification

#include <revolution/gx.h>
void GXSetVtxAttrFmtv( 
    GXVtxFmt                 vtxfmt, 
    const GXVtxAttrFmtList*  list );

Arguments

vtxfmt Specifies the vertex format number
list Specifies a pointer to an array of GXVtxAttrFmtList structures (a list of {attr, cnt, type, frac})

Return Values

None.

Description

This function sets multiple attribute formats 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).

Use the constant GX_MAX_VTXATTRFMTLIST_SZ to allocate the list. You can get a current vertex format using GXGetVtxAttrFmtv.

See Also

GXSetVtxAttrFmt

Revision History

2006/03/01 Initial version.


CONFIDENTIAL