Classes | Public Member Functions | Private Attributes | List of all members
gte::VertexFormat Class Reference

#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
 

Detailed Description

Definition at line 50 of file GteVertexFormat.h.

Constructor & Destructor Documentation

VertexFormat::VertexFormat ( )

Definition at line 14 of file GteVertexFormat.cpp.

Member Function Documentation

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.

int VertexFormat::GetIndex ( VASemantic  semantic,
unsigned int  unit 
) const

Definition at line 95 of file GteVertexFormat.cpp.

int VertexFormat::GetNumAttributes ( ) const

Definition at line 73 of file GteVertexFormat.cpp.

unsigned int VertexFormat::GetOffset ( int  i) const

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.

Member Data Documentation

Attribute gte::VertexFormat::mAttributes[VA_MAX_ATTRIBUTES]
private

Definition at line 89 of file GteVertexFormat.h.

int gte::VertexFormat::mNumAttributes
private

Definition at line 87 of file GteVertexFormat.h.

unsigned int gte::VertexFormat::mVertexSize
private

Definition at line 88 of file GteVertexFormat.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:07