MeVisLabToolboxReference
|
Open Inventor element storing a list of shader parameter nodes. More...
#include <SoGLVertexAttributeElement.h>
Public Types | |
typedef std::vector < SoVertexAttributeInfo * > | AttributeList |
Public Member Functions | |
virtual void | init (SoState *state) |
Initialize element. | |
virtual void | push (SoState *state) |
Overrides push() method to copy values from next instance in the stack. | |
Static Public Member Functions | |
static void | add (SoState *state, SoVertexAttributeInfo *info) |
Add vertex attribute info to the list (replacing an info with the same name). | |
static void | clear (SoState *state, SoNode *node) |
Clear list. | |
static const AttributeList & | get (SoState *state) |
Returns the current list of vertex attributes from the state. | |
static void | initClass () |
Initialize class with runtime type system. | |
Static Protected Member Functions | |
static void | enableVertexAttributesCB (SoVertexShape *shape, SoGLRenderAction *action, bool useVbo, uint32_t numVertices) |
static void | disableVertexAttributesCB (SoVertexShape *shape, SoGLRenderAction *action, bool useVbo, uint32_t numVertices) |
Protected Attributes | |
AttributeList | _attributes |
List of vertex attributes. |
Open Inventor element storing a list of shader parameter nodes.
Definition at line 58 of file SoGLVertexAttributeElement.h.
typedef std::vector<SoVertexAttributeInfo*> SoGLVertexAttributeElement::AttributeList |
Definition at line 65 of file SoGLVertexAttributeElement.h.
static void SoGLVertexAttributeElement::add | ( | SoState * | state, |
SoVertexAttributeInfo * | info | ||
) | [static] |
Add vertex attribute info to the list (replacing an info with the same name).
static void SoGLVertexAttributeElement::clear | ( | SoState * | state, |
SoNode * | node | ||
) | [static] |
Clear list.
static void SoGLVertexAttributeElement::disableVertexAttributesCB | ( | SoVertexShape * | shape, |
SoGLRenderAction * | action, | ||
bool | useVbo, | ||
uint32_t | numVertices | ||
) | [static, protected] |
static void SoGLVertexAttributeElement::enableVertexAttributesCB | ( | SoVertexShape * | shape, |
SoGLRenderAction * | action, | ||
bool | useVbo, | ||
uint32_t | numVertices | ||
) | [static, protected] |
static const AttributeList& SoGLVertexAttributeElement::get | ( | SoState * | state | ) | [static] |
Returns the current list of vertex attributes from the state.
virtual void SoGLVertexAttributeElement::init | ( | SoState * | state | ) | [virtual] |
Initialize element.
static void SoGLVertexAttributeElement::initClass | ( | ) | [static] |
Initialize class with runtime type system.
virtual void SoGLVertexAttributeElement::push | ( | SoState * | state | ) | [virtual] |
Overrides push() method to copy values from next instance in the stack.
AttributeList SoGLVertexAttributeElement::_attributes [protected] |
List of vertex attributes.
Definition at line 92 of file SoGLVertexAttributeElement.h.