#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 the GX APIs. The vertex descriptor is primarily used to parse the vertex data that is present in the command stream.
The attr argument specifies the attribute.
GXClearVtxDesc, GXSetVtxDescv, GXSetVtxAttrFmt, GXSetVtxAttrFmtv, GXSetArray, GXPosition, GXColor, GXNormal, GXTexCoord, GXMatrixIndex, GXBegin
2006/03/01 Initial version.
CONFIDENTIAL