MeVisLab Toolbox Reference
SoGLVertexAttributeElement Class Reference

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

#include <SoGLVertexAttributeElement.h>

Inheritance diagram for SoGLVertexAttributeElement:

Public Types

typedef std::vector< SoVertexAttributeInfo * > AttributeList
 

Public Member Functions

void init (SoState *state) override
 Initialize element. More...
 
void push (SoState *state) override
 Overrides push() method to copy values from next instance in the stack. More...
 

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). More...
 
static void clear (SoState *state, SoNode *node)
 Clear list. More...
 
static const AttributeListget (SoState *state)
 Returns the current list of vertex attributes from the state. More...
 
static void initClass ()
 Initialize class with runtime type system. More...
 

Static Protected Member Functions

static void enableVertexAttributesCB (SoNode *shape, SoGLRenderAction *action, bool useVbo, uint32_t numVertices)
 
static void disableVertexAttributesCB (SoNode *shape, SoGLRenderAction *action, bool useVbo, uint32_t numVertices)
 

Protected Attributes

AttributeList _attributes
 List of vertex attributes. More...
 

Detailed Description

Open Inventor element storing a list of shader parameter nodes.

Definition at line 69 of file SoGLVertexAttributeElement.h.

Member Typedef Documentation

◆ AttributeList

Member Function Documentation

◆ add()

static void SoGLVertexAttributeElement::add ( SoState *  state,
SoVertexAttributeInfo info 
)
static

Add vertex attribute info to the list (replacing an info with the same name).

◆ clear()

static void SoGLVertexAttributeElement::clear ( SoState *  state,
SoNode *  node 
)
static

Clear list.

◆ disableVertexAttributesCB()

static void SoGLVertexAttributeElement::disableVertexAttributesCB ( SoNode *  shape,
SoGLRenderAction *  action,
bool  useVbo,
uint32_t  numVertices 
)
staticprotected

◆ enableVertexAttributesCB()

static void SoGLVertexAttributeElement::enableVertexAttributesCB ( SoNode *  shape,
SoGLRenderAction *  action,
bool  useVbo,
uint32_t  numVertices 
)
staticprotected

◆ get()

static const AttributeList& SoGLVertexAttributeElement::get ( SoState *  state)
static

Returns the current list of vertex attributes from the state.

◆ init()

void SoGLVertexAttributeElement::init ( SoState *  state)
override

Initialize element.

◆ initClass()

static void SoGLVertexAttributeElement::initClass ( )
static

Initialize class with runtime type system.

◆ push()

void SoGLVertexAttributeElement::push ( SoState *  state)
override

Overrides push() method to copy values from next instance in the stack.

Member Data Documentation

◆ _attributes

AttributeList SoGLVertexAttributeElement::_attributes
protected

List of vertex attributes.

Definition at line 103 of file SoGLVertexAttributeElement.h.


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