Public Member Functions |
| ArrayDispatchers () |
| ~ArrayDispatchers () |
void | setState (osg::State *state) |
AttributeDispatch * | vertexDispatcher (Array *array, IndexArray *indices) |
AttributeDispatch * | normalDispatcher (Array *array, IndexArray *indices) |
AttributeDispatch * | colorDispatcher (Array *array, IndexArray *indices) |
AttributeDispatch * | secondaryColorDispatcher (Array *array, IndexArray *indices) |
AttributeDispatch * | fogCoordDispatcher (Array *array, IndexArray *indices) |
AttributeDispatch * | texCoordDispatcher (unsigned int unit, Array *array, IndexArray *indices) |
AttributeDispatch * | vertexAttribDispatcher (unsigned int unit, Array *array, IndexArray *indices) |
void | reset () |
void | setUseGLBeginEndAdapter (bool flag) |
bool | getUseGLBeginEndAdapter () const |
void | setUseVertexAttribAlias (bool flag) |
bool | getUseVertexAttribAlias () const |
void | activate (unsigned int binding, AttributeDispatch *at) |
void | activateVertexArray (unsigned int binding, osg::Array *array, osg::IndexArray *indices) |
void | activateColorArray (unsigned int binding, osg::Array *array, osg::IndexArray *indices) |
void | activateNormalArray (unsigned int binding, osg::Array *array, osg::IndexArray *indices) |
void | activateSecondaryColorArray (unsigned int binding, osg::Array *array, osg::IndexArray *indices) |
void | activateFogCoordArray (unsigned int binding, osg::Array *array, osg::IndexArray *indices) |
void | activateTexCoordArray (unsigned int binding, unsigned int unit, osg::Array *array, osg::IndexArray *indices) |
void | activateVertexAttribArray (unsigned int binding, unsigned int unit, osg::Array *array, osg::IndexArray *indices) |
void | dispatch (unsigned int binding, unsigned int index) |
bool | active (unsigned int binding) const |
void | Begin (GLenum mode) |
void | End () |
| Referenced () |
| Referenced (bool threadSafeRefUnref) |
| Referenced (const Referenced &) |
Referenced & | operator= (const Referenced &) |
virtual void | setThreadSafeRefUnref (bool threadSafe) |
bool | getThreadSafeRefUnref () const |
OpenThreads::Mutex * | getRefMutex () const |
int | ref () const |
int | unref () const |
int | unref_nodelete () const |
int | referenceCount () const |
ObserverSet * | getObserverSet () const |
ObserverSet * | getOrCreateObserverSet () const |
void | addObserver (Observer *observer) const |
void | removeObserver (Observer *observer) const |
Helper class for managing the dispatch to OpenGL of various attribute arrays such as stored in osg::Geometry.