#include <GteVertexFormat.h>
Classes | |
class | Attribute |
Public Member Functions | |
bool | Bind (VASemantic semantic, DFType type, unsigned int unit) |
bool | GetAttribute (int i, VASemantic &semantic, DFType &type, unsigned int &unit, unsigned int &offset) const |
int | GetIndex (VASemantic semantic, unsigned int unit) const |
int | GetNumAttributes () const |
unsigned int | GetOffset (int i) const |
DFType | GetType (int i) const |
unsigned int | GetVertexSize () const |
VertexFormat () | |
Private Attributes | |
Attribute | mAttributes [VA_MAX_ATTRIBUTES] |
int | mNumAttributes |
unsigned int | mVertexSize |
Definition at line 50 of file GteVertexFormat.h.
VertexFormat::VertexFormat | ( | ) |
Definition at line 14 of file GteVertexFormat.cpp.
bool VertexFormat::Bind | ( | VASemantic | semantic, |
DFType | type, | ||
unsigned int | unit | ||
) |
Definition at line 21 of file GteVertexFormat.cpp.
bool VertexFormat::GetAttribute | ( | int | i, |
VASemantic & | semantic, | ||
DFType & | type, | ||
unsigned int & | unit, | ||
unsigned int & | offset | ||
) | const |
Definition at line 78 of file GteVertexFormat.cpp.
Definition at line 95 of file GteVertexFormat.cpp.
int VertexFormat::GetNumAttributes | ( | ) | const |
Definition at line 73 of file GteVertexFormat.cpp.
Definition at line 120 of file GteVertexFormat.cpp.
DFType VertexFormat::GetType | ( | int | i | ) | const |
Definition at line 109 of file GteVertexFormat.cpp.
unsigned int VertexFormat::GetVertexSize | ( | ) | const |
Definition at line 68 of file GteVertexFormat.cpp.
|
private |
Definition at line 89 of file GteVertexFormat.h.
|
private |
Definition at line 87 of file GteVertexFormat.h.
|
private |
Definition at line 88 of file GteVertexFormat.h.