MeVisLabToolboxReference
SoVertexAttributeInfo Struct Reference

Struct to store information on an vertex attribute, typically located in a SoVertexAttributeBase base class. More...

#include <SoGLVertexAttributeElement.h>

List of all members.

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

Detailed Description

Struct to store information on an vertex attribute, typically located in a SoVertexAttributeBase base class.

Definition at line 18 of file SoGLVertexAttributeElement.h.


Constructor & Destructor Documentation

SoVertexAttributeInfo::SoVertexAttributeInfo ( )

Member Data Documentation

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.

the name of the attribute

Definition at line 24 of file SoGLVertexAttributeElement.h.

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.

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.

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.

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.


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