GL Studio C++ Runtime API
GlsGloFile::GlsGeometryResourceDataHeader Struct Reference

#include <gls_glo_file.h>

Public Attributes

unsigned int version
 Should be GlsGeometryResourceData_Version.
 
unsigned int vertexSize
 Size of a single vertex (in bytes).
 
unsigned int numberOfVertices
 Size of the vertex array.
 
unsigned int numberOfIndexBuffers
 Number of index buffers.
 
unsigned char numberOfTextureCoords
 Number of texture coords.
 
unsigned char numberOfVertexAttribs
 Number of vertex attributes.
 
bool hasNormal
 If true, geometry has normals.
 
bool hasColor
 If true, geometry has color information.
 
bool hasSecondaryColor
 If true, geometry has secondary color information.
 
bool hasTangentAttrib
 If true, geometry has tangent attribute.
 
unsigned char tangentAttribIndex
 Index of the tangent attribute.
 
bool hasBinormalAttrib
 If true, geometry has binormal attribute.
 
unsigned char binormalAttribIndex
 Index of the binormal attribute.
 
unsigned char padding1
 Padding.
 
unsigned short padding2
 Padding.
 

Detailed Description

The GlsGeometryResourceDataHeader struct. Contains header information for mesh objects.


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