1#ifndef COIN_SOGLVBOELEMENT_H
2#define COIN_SOGLVBOELEMENT_H
36#include <Inventor/elements/SoSubElement.h>
53 static SbBool shouldCreateVBO(
SoState * state,
const int numdata);
54 static void setVertexVBO(
SoState * state, SoVBO * vbo);
55 static void setNormalVBO(
SoState * state, SoVBO * vbo);
56 static void setColorVBO(
SoState * state, SoVBO * vbo);
57 static void setTexCoordVBO(
SoState * state,
const int unit, SoVBO * vbo);
68 SoVBO * getVertexVBO(
void)
const;
69 SoVBO * getNormalVBO(
void)
const;
70 SoVBO * getColorVBO(
void)
const;
71 int getNumTexCoordVBO(
void)
const;
72 SoVBO * getTexCoordVBO(
const int idx)
const;
78 SoGLVBOElementP * pimpl;
SoElement is the abstract base class for all elements.
Definition SoElement.h:43
static SoElement * getElement(SoState *const state, const int stackIndex)
Definition SoElement.h:110
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition SoElement.cpp:585
virtual SoElement * copyMatchInfo(void) const =0
virtual SbBool matches(const SoElement *element) const =0
Definition SoElement.cpp:609
static void initClass(void)
Definition SoElement.cpp:507
virtual void init(SoState *state)
Definition SoElement.cpp:553
virtual void push(SoState *state)
Definition SoElement.cpp:570
The SoGLVBOElement class is used to store VBO state.
Definition SoGLVBOElement.h:41
The SoState class manages the Coin scene graph traversal state data.
Definition SoState.h:44