Cogs.Core
|
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.
Definition at line 59 of file VertexFormat.h.
std::vector<VertexElement> Cogs::VertexFormat::elements |
Vector containing all vertex elements of this format.
Definition at line 62 of file VertexFormat.h.
Referenced by Cogs::hash(), Cogs::BuffersD3D12::loadInputLayout(), Cogs::BuffersD3D11::loadInputLayout(), Cogs::BuffersVK::loadInputLayout(), Cogs::BuffersWebGPU::loadInputLayout(), Cogs::Core::MaterialManager::loadMaterialVariant(), Cogs::BuffersGLES30::loadVertexArrayObject(), Cogs::BuffersGL20::loadVertexBuffer(), Cogs::BuffersD3D11::loadVertexBuffer(), Cogs::BuffersD3D12::loadVertexBuffer(), Cogs::BuffersGLES30::loadVertexBuffer(), and Cogs::Core::MeshStreamsLayout::logLayout().
size_t Cogs::VertexFormat::hash = 0 |
Hash code of the vertex format.
Definition at line 65 of file VertexFormat.h.
uint32_t Cogs::VertexFormat::size = 0 |
Calculated size of the vertex format.
Definition at line 68 of file VertexFormat.h.