#include <revolution/gx.h>
void GXSetVtxAttrFmtv(
GXVtxFmt vtxfmt,
const GXVtxAttrFmtList* list );
| vtxfmt | Specifies the vertex format number. |
|---|---|
| list | Specifies a pointer to an array of GXVtxAttrFmtList structures (a list of {attr, cnt, type, and frac}). |
None.
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 use the GXGetVtxAttrFmtv function to get the current vertex format.
2006/03/01 Initial version.
CONFIDENTIAL