libOGC  1.0
 All Data Structures Files Functions Variables Typedefs Macros Modules Pages
Data Fields
GXVtxAttrFmt Struct Reference

Structure describing the attribute format for one attribute. More...

#include <gx.h>

Data Fields

u32 compsize
 
u32 comptype
 
u32 frac
 
u32 vtxattr
 

Detailed Description

Structure describing the attribute format for one attribute.

An array of these structures can be used to describe the format of all attributes in a vertex. The attribute GX_VA_NULL should be used to mark the end of the array.

Field Documentation

u32 GXVtxAttrFmt::compsize
u32 GXVtxAttrFmt::comptype

Attribute component type for this element.

u32 GXVtxAttrFmt::frac

Number of fractional bits for a fixed-point number.

u32 GXVtxAttrFmt::vtxattr

Vertex attribute array type for this element.


The documentation for this struct was generated from the following file: