Manage the currently registered VBOs in the state (for coordinates, normals, colors and tex coords) (MeVis ONLY)
More...
#include <Inventor/elements/SoGLVBOElement.h>
|
| virtual | ~SoGLVBOElement () |
| | Destructor.
|
| |
| | SoElement () |
| | Constructor; use typeId.createInstance to create elements.
|
| |
| void | capture (SoState *state) const |
| | Does whatever is necessary in state to capture this element for caching purposes.
|
| |
| virtual void | captureThis (SoState *state) const |
| | Really captures this element, once it has been determined that a cache is open to capture it.
|
| |
| void | setTypeId (SoType id) |
| | Sets typeId in instance.
|
| |
| void | setStackIndex (int index) |
| | Sets stackIndex in instance.
|
| |
| SoElement * | getNextInStack () const |
| | Returns next instance in specific element stack.
|
| |
| SoElement * | getNextFree () const |
| | Returns next free element in a specific element stack.
|
| |
Definition at line 48 of file SoGLVBOElement.h.
◆ VBOType
| Enumerator |
|---|
| VERTEX_VBO | |
| NORMAL_VBO | |
| COLOR_VBO | |
| TEXCOORD_VBO | |
| MAX_VBO_TYPES | |
Definition at line 55 of file SoGLVBOElement.h.
◆ ~SoGLVBOElement()
| virtual SoGLVBOElement::~SoGLVBOElement |
( |
| ) |
|
|
protectedvirtual |
◆ copyMatchInfo()
| SoElement * SoGLVBOElement::copyMatchInfo |
( |
| ) |
const |
|
virtual |
◆ getInstance()
◆ getVBO()
◆ init()
| virtual void SoGLVBOElement::init |
( |
SoState * |
state | ) |
|
|
virtual |
Called for first element of its kind in stack. Default method does nothing.
Reimplemented from SoElement.
◆ initClass()
| static void SoGLVBOElement::initClass |
( |
| ) |
|
|
static |
◆ matches()
| bool SoGLVBOElement::matches |
( |
const SoElement * |
elt | ) |
const |
|
virtual |
If you write a matches() method, you must also write a copy() method.
Implements SoElement.
◆ pop()
| virtual void SoGLVBOElement::pop |
( |
SoState * |
state, |
|
|
const SoElement * |
childElt |
|
) |
| |
|
virtual |
◆ push()
| virtual void SoGLVBOElement::push |
( |
SoState * |
state | ) |
|
|
virtual |
Allows for side effects to occur. Default methods do nothing.
Reimplemented from SoElement.
◆ unsetVBO()
| static void SoGLVBOElement::unsetVBO |
( |
SoState * |
state, |
|
|
VBOType |
type |
|
) |
| |
|
static |
◆ unsetVBOIfEnabled()
| static void SoGLVBOElement::unsetVBOIfEnabled |
( |
SoState * |
state, |
|
|
VBOType |
type |
|
) |
| |
|
static |
◆ updateVBO()
Passing the data in is optional and may be done later on the allocated vbo. The ownership of the VBO is passed to the called.
The documentation for this class was generated from the following file:
- /home/jenkins/workspaces/mevislab/4.2.0_1/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/elements/SoGLVBOElement.h