Go to the documentation of this file.
60 #ifndef vtkOpenGLVertexBufferObjectGroup_h
61 #define vtkOpenGLVertexBufferObjectGroup_h
63 #include "vtkRenderingOpenGL2Module.h"
87 int GetNumberOfComponents(
const char *attribute);
93 int GetNumberOfTuples(
const char *attribute);
100 void ReleaseGraphicsResources(
vtkWindow *);
111 void AddAllAttributesToVAO(
120 void RemoveAttribute(
const char *attribute);
127 void CacheDataArray(
const char *attribute,
vtkDataArray *da,
130 void CacheDataArray(
const char *attribute,
vtkDataArray *da,
140 bool ArrayExists(
const char *attribute,
vtkDataArray *da,
148 void AppendDataArray(
const char *attribute,
vtkDataArray *da,
int destType);
170 void ClearAllDataArrays();
181 std::map<std::string, vtkOpenGLVertexBufferObject*>
UsedVBOs;
std::map< std::string, std::vector< vtkDataArray * > > UsedDataArrays
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
abstract base class for most VTK objects
abstract superclass for arrays of numeric data
window superclass for vtkRenderWindow
manage vertex buffer objects shared within a mapper
virtual vtkMTimeType GetMTime()
Return this object's modified time.
The ShaderProgram uses one or more Shader objects.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
std::map< std::string, vtkOpenGLVertexBufferObject * > UsedVBOs
abstract specification for Viewports
std::map< std::string, std::map< vtkDataArray *, vtkIdType > > UsedDataArrayMaps
std::map< std::string, vtkIdType > UsedDataArraySizes
manage vertex buffer objects shared within a context
The VertexArrayObject class uses, or emulates, vertex array objects.
vtkTypeUInt32 vtkMTimeType