All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
kanzi::MeshVertexData Struct Reference

Vertex data of a mesh. More...

#include <kanzi/graphics_3d/mesh.hpp>

Public Member Functions

 MeshVertexData ()
 

Public Attributes

vector< VertexAttributevertexAttributes
 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< kzBytedata
 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...
 

Detailed Description

Vertex data of a mesh.

Constructor & Destructor Documentation

kanzi::MeshVertexData::MeshVertexData ( )
inlineexplicit

Member Data Documentation

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.


The documentation for this struct was generated from the following file: