GL Studio C++ Runtime API
GlsGeometry_Generic::VertexStructureDefinition Struct Reference

#include <gls_geometry_resource.h>

Public Attributes

unsigned int _size
 Total size of each vertex in bytes (depends on which data is included).
 
unsigned int _normalStride
 Offset between each normal in bytes.
 
unsigned int _texcoordStride
 Offset between each texture coordinate in bytes.
 
unsigned int _texcoord2Stride
 Offset between each secondary texture coordinate in bytes.
 
unsigned int _colorStride
 Offset between each color in bytes.
 
unsigned int _secondaryColorStride
 Offset between each secondary color in bytes.
 
unsigned int _numVertexAttribs
 The count of vertex attributes.
 
unsigned int _vertexAttribStride [MAX_VERTEX_ATTRIBS]
 A list of offsets in bytes for each vertex attribute.
 
unsigned int _vertexAttribSize [MAX_VERTEX_ATTRIBS]
 The size of each vertex attribute in bytes.
 

Detailed Description

The VertexStructureDefinition struct. Contains stride and attribute information associated with a vertex buffer object.


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