Cogs.Rendering
|
Vertex element structure used to describe a single data element in a vertex for the input assembler. More...
#include <VertexFormat.h>
Public Attributes | |
uint16_t | offset |
Offset in bytes from the vertex position in memory. | |
DataFormat | format |
Format of the element. | |
ElementSemantic | semantic |
Semantic mapping of the element (position, normal, etc...). | |
uint16_t | semanticIndex |
Index for the semantic mapping. | |
InputType | inputType |
Input type of the element, vertex or instance data. | |
uint16_t | instanceStep |
Instance step factor. | |
Vertex element structure used to describe a single data element in a vertex for the input assembler.
DataFormat Cogs::VertexElement::format |
Format of the element.
Referenced by Cogs::VertexFormats::createVertexFormat(), and Cogs::hash().
InputType Cogs::VertexElement::inputType |
Input type of the element, vertex or instance data.
Referenced by Cogs::hash().
uint16_t Cogs::VertexElement::instanceStep |
Instance step factor.
Referenced by Cogs::hash().
uint16_t Cogs::VertexElement::offset |
Offset in bytes from the vertex position in memory.
Referenced by Cogs::hash().
ElementSemantic Cogs::VertexElement::semantic |
Semantic mapping of the element (position, normal, etc...).
Referenced by Cogs::hash().
uint16_t Cogs::VertexElement::semanticIndex |
Index for the semantic mapping.
Used to differentiate several elements with the same semantic.
Referenced by Cogs::hash().