1 #ifndef COIN_SOGLVBOELEMENT_H 2 #define COIN_SOGLVBOELEMENT_H 36 #include <Inventor/elements/SoSubElement.h> 39 class SoGLVBOElementP;
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;
81 #endif // COIN_SOGLVBOELEMENT_H static void initClass(void)
Definition: SoElement.cpp:506
virtual SbBool matches(const SoElement *element) const =0
Definition: SoElement.cpp:608
The SoGLVBOElement class is used to store VBO state.
Definition: SoGLVBOElement.h:41
virtual void push(SoState *state)
Definition: SoElement.cpp:569
static SoElement * getElement(SoState *const state, const int stackIndex)
Definition: SoElement.h:110
SoElement is the abstract base class for all elements.
Definition: SoElement.h:43
The SoState class manages the Coin scenegraph traversal state data.
Definition: SoState.h:44
virtual void init(SoState *state)
Definition: SoElement.cpp:552
virtual SoElement * copyMatchInfo(void) const =0
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition: SoElement.cpp:584