libogc  v2.6.0
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

◆ compsize

u32 GXVtxAttrFmt::compsize

◆ comptype

u32 GXVtxAttrFmt::comptype

Attribute component type for this element.

◆ frac

u32 GXVtxAttrFmt::frac

Number of fractional bits for a fixed-point number.

◆ vtxattr

u32 GXVtxAttrFmt::vtxattr

Vertex attribute array type for this element.


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