Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
|
#include <VertexElement.h>
Public Member Functions | |
VertexElement () | |
bool | operator== (const VertexElement &e) |
Public Attributes | |
ElementType | mType |
int | mBytes |
int | mOffset |
Represents a vertex element type, its size in bytes, and its offset/starting byte position into a vertex.
Ult::VertexElement::VertexElement | ( | ) |
Vertex element constructor.
bool Ult::VertexElement::operator== | ( | const VertexElement & | e | ) |
Checks if this and the input element are equal.
int Ult::VertexElement::mBytes |
The type of data this element represents.
int Ult::VertexElement::mOffset |
The size of 1 element in bytes.
ElementType Ult::VertexElement::mType |