Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
Ult::VertexElement Class Reference

#include <VertexElement.h>

Public Member Functions

 VertexElement ()
 
bool operator== (const VertexElement &e)
 

Public Attributes

ElementType mType
 
int mBytes
 
int mOffset
 

Detailed Description

Represents a vertex element type, its size in bytes, and its offset/starting byte position into a vertex.

Constructor & Destructor Documentation

◆ VertexElement()

Ult::VertexElement::VertexElement ( )

Vertex element constructor.

Member Function Documentation

◆ operator==()

bool Ult::VertexElement::operator== ( const VertexElement & e)

Checks if this and the input element are equal.

Member Data Documentation

◆ mBytes

int Ult::VertexElement::mBytes

The type of data this element represents.

◆ mOffset

int Ult::VertexElement::mOffset

The size of 1 element in bytes.

◆ mType

ElementType Ult::VertexElement::mType

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