#include <revolution/gx.h>
void GXGetVtxDesc( GXAttr attr, GXAttrType* type );
attr |
Specifies the name of the attribute |
type |
Pointer that returns the type of the attribute |
None.
This function gets the type of a single attribute (attr) in the current vertex descriptor. The vertex descriptor defines which attributes are present in a vertex and how each attribute is referenced. The vertex descriptor is used by the graphics processor to interpret the graphics command stream produced by GX API. The vertex descriptor is primarily used to parse the vertex data that is present in the command stream.
The attr parameter names the attribute.
GXClearVtxDesc
GXSetVtxDescv
GXSetVtxAttrFmt
GXSetVtxAttrFmtv
GXSetArray
GXPosition
GXColor
GXNormal
GXTexCoord
GXMatrixIndex
GXBegin
03/01/2006 Initial version.