1#ifndef COIN_SOGLVBOELEMENT_H
2#define COIN_SOGLVBOELEMENT_H
27#include <Inventor/elements/SoSubElement.h>
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;
SoElement is the abstract base class for all elements.
Definition SoElement.h:34
static SoElement * getElement(SoState *const state, const int stackIndex)
Definition SoElement.h:101
virtual void pop(SoState *state, const SoElement *prevTopElement)
Definition SoElement.cpp:585
virtual SbBool matches(const SoElement *element) const =0
Definition SoElement.cpp:609
static void initClass(void)
Definition SoElement.cpp:507
virtual SoElement * copyMatchInfo(void) const =0
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:32
The SoState class manages the Coin scenegraph traversal state data.
Definition SoState.h:35
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.