MeVisLab Resolution Independence API
|
Open Inventor element storing a list of vertex attributes. 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 | |
bool | _perInstance |
set if data should be used for instanced rendering | |
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 | |
Open Inventor element storing a list of vertex attributes.
Struct to store information on an vertex attribute, typically located in a SoVertexAttributeBase base class.
Definition at line 26 of file SoGLVertexAttributeElement.h.
SoVertexAttributeInfo::SoVertexAttributeInfo | ( | ) |
const void* SoVertexAttributeInfo::_data |
a pointer to the data (not owned by this object)
Definition at line 38 of file SoGLVertexAttributeElement.h.
GLint SoVertexAttributeInfo::_index |
the index of the attribute in the current shader program, only becomes valid while attribute is enabled
Definition at line 59 of file SoGLVertexAttributeElement.h.
SbString SoVertexAttributeInfo::_name |
the name of the attribute
Definition at line 32 of file SoGLVertexAttributeElement.h.
SoNode* SoVertexAttributeInfo::_node |
the node that holds the attribute
Definition at line 35 of file SoGLVertexAttributeElement.h.
bool SoVertexAttributeInfo::_normalized |
a flag if the attribute should be normalized by GL
Definition at line 52 of file SoGLVertexAttributeElement.h.
uint32_t SoVertexAttributeInfo::_numBytes |
the number of bytes in _data
Definition at line 40 of file SoGLVertexAttributeElement.h.
int SoVertexAttributeInfo::_numComponents |
the number of components for GL
Definition at line 50 of file SoGLVertexAttributeElement.h.
uint32_t SoVertexAttributeInfo::_numValues |
the number of values in _data
Definition at line 42 of file SoGLVertexAttributeElement.h.
bool SoVertexAttributeInfo::_perInstance |
set if data should be used for instanced rendering
Definition at line 45 of file SoGLVertexAttributeElement.h.
bool SoVertexAttributeInfo::_shouldFlipRGBAOnLittleEndian |
indicates the 4ub data should be flipped
Definition at line 62 of file SoGLVertexAttributeElement.h.
GLenum SoVertexAttributeInfo::_type |
the GL data type to use for sending
Definition at line 48 of file SoGLVertexAttributeElement.h.
SoVBO SoVertexAttributeInfo::_vbo |
a VBO to manage the data
Definition at line 55 of file SoGLVertexAttributeElement.h.