|
Cogs.Rendering
|
Vertex format structure used to describe a single vertex for the input assembler. More...
#include <VertexFormat.h>
Public Attributes | |
| std::vector< VertexElement > | elements |
| Vector containing all vertex elements of this format. | |
| size_t | hash = 0 |
| Hash code of the vertex format. | |
| uint32_t | size = 0 |
| Calculated size of the vertex format. | |
Vertex format structure used to describe a single vertex for the input assembler.
A vertex consists of a set of elements.
| std::vector<VertexElement> Cogs::VertexFormat::elements |
Vector containing all vertex elements of this format.
Referenced by Cogs::VertexFormats::createVertexFormat(), and Cogs::hash().
| size_t Cogs::VertexFormat::hash = 0 |
Hash code of the vertex format.
Referenced by Cogs::VertexFormats::createVertexFormat(), and Cogs::getHash().
| uint32_t Cogs::VertexFormat::size = 0 |
Calculated size of the vertex format.
Referenced by Cogs::VertexFormats::createVertexFormat(), and Cogs::getSize().