SoVBO is used to manage OpenGL vertex buffer objects.
More...
#include <Inventor/misc/SoVBO.h>
Note that the creation of a real OpenGL VBO is deferred until bind() is called, so that the VBO is created lazily. (MeVis ONLY)
Definition at line 51 of file SoVBO.h.
◆ SoVBO()
SoVBO::SoVBO |
( |
GLenum |
type | ) |
|
◆ ~SoVBO()
◆ bind()
bool SoVBO::bind |
( |
SoState * |
state | ) |
|
Returns true if the VBO could be bound and false otherwise. If the bind call fails, this typically means an out of memory condition because the VBO does not fit on the graphics board.
◆ clearData()
void SoVBO::clearData |
( |
| ) |
|
◆ copyAndSwapPackedRGBA()
void SoVBO::copyAndSwapPackedRGBA |
( |
SoState * |
state | ) |
|
◆ freeGL()
void SoVBO::freeGL |
( |
SoState * |
state = NULL | ) |
|
◆ getData()
const void* SoVBO::getData |
( |
| ) |
const |
|
inline |
◆ getDataId()
◆ getVboMinimumSizeLimit()
static int SoVBO::getVboMinimumSizeLimit |
( |
| ) |
|
|
inlinestatic |
◆ hasSwappedRGBAData()
bool SoVBO::hasSwappedRGBAData |
( |
| ) |
const |
|
inline |
◆ isValid()
bool SoVBO::isValid |
( |
SoState * |
state | ) |
|
◆ isVertexArrayRenderingAllowed()
static bool SoVBO::isVertexArrayRenderingAllowed |
( |
| ) |
|
|
static |
Default is true, this can be disabled by setting the IV_NO_VERTEX_ARRAY environment variable.
◆ setData()
◆ shouldUseVBO()
static bool SoVBO::shouldUseVBO |
( |
SoState * |
state, |
|
|
int |
numData |
|
) |
| |
|
static |
◆ unbind()
◆ updateData()
void SoVBO::updateData |
( |
void * |
data | ) |
|
The documentation for this class was generated from the following file:
- /home/jenkins/workspaces/mevislab/4.1_0/build/MeVis/ThirdParty/Sources/Inventor/include/Inventor/misc/SoVBO.h