MeVisLabToolboxReference
SoGLVertexAttributeElement Class Reference

Open Inventor element storing a list of shader parameter nodes. More...

#include <SoGLVertexAttributeElement.h>

List of all members.

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 AttributeListget (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.

Detailed Description

Open Inventor element storing a list of shader parameter nodes.

Definition at line 58 of file SoGLVertexAttributeElement.h.


Member Typedef Documentation


Member Function Documentation

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.


Member Data Documentation

List of vertex attributes.

Definition at line 92 of file SoGLVertexAttributeElement.h.


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