MeVisLabToolboxReference
|
Struct to store information on an vertex attribute, typically located in a SoVertexAttributeBase base class. More...
#include <SoGLVertexAttributeElement.h>
Public Member Functions | |
SoVertexAttributeInfo () | |
Public Attributes | |
SbString | _name |
the name of the attribute | |
SoNode * | _node |
the node that holds the attribute | |
const void * | _data |
a pointer to the data (not owned by this object) | |
uint32_t | _numBytes |
the number of bytes in _data | |
uint32_t | _numValues |
the number of values in _data | |
GLenum | _type |
the GL data type to use for sending | |
int | _numComponents |
the number of components for GL | |
bool | _normalized |
a flag if the attribute should be normalized by GL | |
SoVBO | _vbo |
a VBO to manage the data | |
GLint | _index |
the index of the attribute in the current shader program, only becomes valid while attribute is enabled | |
bool | _shouldFlipRGBAOnLittleEndian |
indicates the 4ub data should be flipped |
Struct to store information on an vertex attribute, typically located in a SoVertexAttributeBase base class.
Definition at line 18 of file SoGLVertexAttributeElement.h.
SoVertexAttributeInfo::SoVertexAttributeInfo | ( | ) |
const void* SoVertexAttributeInfo::_data |
a pointer to the data (not owned by this object)
Definition at line 30 of file SoGLVertexAttributeElement.h.
the index of the attribute in the current shader program, only becomes valid while attribute is enabled
Definition at line 48 of file SoGLVertexAttributeElement.h.
SbString SoVertexAttributeInfo::_name |
the name of the attribute
Definition at line 24 of file SoGLVertexAttributeElement.h.
SoNode* SoVertexAttributeInfo::_node |
the node that holds the attribute
Definition at line 27 of file SoGLVertexAttributeElement.h.
a flag if the attribute should be normalized by GL
Definition at line 41 of file SoGLVertexAttributeElement.h.
uint32_t SoVertexAttributeInfo::_numBytes |
the number of bytes in _data
Definition at line 32 of file SoGLVertexAttributeElement.h.
the number of components for GL
Definition at line 39 of file SoGLVertexAttributeElement.h.
uint32_t SoVertexAttributeInfo::_numValues |
the number of values in _data
Definition at line 34 of file SoGLVertexAttributeElement.h.
indicates the 4ub data should be flipped
Definition at line 51 of file SoGLVertexAttributeElement.h.
GLenum SoVertexAttributeInfo::_type |
the GL data type to use for sending
Definition at line 37 of file SoGLVertexAttributeElement.h.
a VBO to manage the data
Definition at line 44 of file SoGLVertexAttributeElement.h.