1 #ifndef COIN_SOGLVBOELEMENT_H 2 #define COIN_SOGLVBOELEMENT_H 27 #include <Inventor/elements/SoSubElement.h> 30 class SoGLVBOElementP;
44 static SbBool shouldCreateVBO(
SoState * state,
const int numdata);
45 static void setVertexVBO(
SoState * state, SoVBO * vbo);
46 static void setNormalVBO(
SoState * state, SoVBO * vbo);
47 static void setColorVBO(
SoState * state, SoVBO * vbo);
48 static void setTexCoordVBO(
SoState * state,
const int unit, SoVBO * vbo);
59 SoVBO * getVertexVBO(
void)
const;
60 SoVBO * getNormalVBO(
void)
const;
61 SoVBO * getColorVBO(
void)
const;
62 int getNumTexCoordVBO(
void)
const;
63 SoVBO * getTexCoordVBO(
const int idx)
const;
69 SoGLVBOElementP * pimpl;
72 #endif // COIN_SOGLVBOELEMENT_H static void initClass(void)
Definition: SoElement.cpp:507
virtual SbBool matches(const SoElement *element) const =0
Definition: SoElement.cpp:609
The SoGLVBOElement class is used to store VBO state.FIXME: write doc.
Definition: SoGLVBOElement.h:32
virtual void push(SoState *state)
Definition: SoElement.cpp:570
static SoElement * getElement(SoState *const state, const int stackIndex)
Definition: SoElement.h:101
SoElement is the abstract base class for all elements.
Definition: SoElement.h:34
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:35
virtual void init(SoState *state)
Definition: SoElement.cpp:553
virtual SoElement * copyMatchInfo(void) const =0
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition: SoElement.cpp:585