Vertex data of a mesh. More...
#include <kanzi/graphics_3d/mesh.hpp>
Public Member Functions | |
MeshVertexData () | |
Public Attributes | |
vector< VertexAttribute > | vertexAttributes |
Vertex attributes. More... | |
unsigned int | vertexSize |
Size of one vertex, that is, all attributes summed. More... | |
unsigned int | vertexCount |
Vertex count for this vertex buffer. More... | |
vector< kzByte > | data |
Vertex buffer data. More... | |
StringToAttributeIndexSet | loadTimeShaderAttributeMaps |
Only used during loading, processed and cleared by finishLoading(). More... | |
ShaderToAttributeMapSet | shaderAttributeMaps |
Shader pointer -> (attribute name -> mesh vertex attribute index) More... | |
unsigned int | vertexBufferHandle |
Vertex buffer handle. This is 0 if the mesh is invalid. More... | |
Vertex data of a mesh.
|
inlineexplicit |
vector<VertexAttribute> kanzi::MeshVertexData::vertexAttributes |
Vertex attributes.
unsigned int kanzi::MeshVertexData::vertexSize |
Size of one vertex, that is, all attributes summed.
unsigned int kanzi::MeshVertexData::vertexCount |
Vertex count for this vertex buffer.
vector<kzByte> kanzi::MeshVertexData::data |
Vertex buffer data.
StringToAttributeIndexSet kanzi::MeshVertexData::loadTimeShaderAttributeMaps |
Only used during loading, processed and cleared by finishLoading().
ShaderToAttributeMapSet kanzi::MeshVertexData::shaderAttributeMaps |
Shader pointer -> (attribute name -> mesh vertex attribute index)
unsigned int kanzi::MeshVertexData::vertexBufferHandle |
Vertex buffer handle. This is 0 if the mesh is invalid.