Go to the documentation of this file.
27 #ifndef vtkOpenGLVertexBufferObjectCache_h
28 #define vtkOpenGLVertexBufferObjectCache_h
30 #include "vtkRenderingOpenGL2Module.h"
62 typedef std::map<vtkDataArray*, vtkOpenGLVertexBufferObject *>
VBOMap;
~vtkOpenGLVertexBufferObjectCache() override
void RemoveVBO(vtkOpenGLVertexBufferObject *vbo)
Removes all references to a given vertex buffer object.
record modification and/or execution time
abstract base class for most VTK objects
std::map< vtkDataArray *, vtkOpenGLVertexBufferObject * > VBOMap
abstract superclass for arrays of numeric data
static vtkOpenGLVertexBufferObjectCache * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
vtkOpenGLVertexBufferObjectCache()
manage vertex buffer objects shared within a context
vtkOpenGLVertexBufferObject * GetVBO(vtkDataArray *array, int destType)
Returns the vertex buffer object which holds the data array's data.