14 #ifndef vtkOpenGLVertexArrayObject_h
15 #define vtkOpenGLVertexArrayObject_h
18 #include "vtkRenderingOpenGL2Module.h"
47 void ReleaseGraphicsResources();
49 void ShaderProgramChanged();
55 return this->AddAttributeArrayWithDivisor(
56 program, buffer, name, offset, stride, elementType, elementTupleSize, normalize, 0,
false);
64 bool normalize,
int divisor,
bool isMatrix);
68 bool normalize,
int divisor,
int tupleOffset);
75 void SetForceEmulation(
bool val);
88 #endif // vtkOpenGLVertexArrayObject_h
abstract base class for most VTK objects
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
The VertexArrayObject class uses, or emulates, vertex array objects.
bool AddAttributeArray(vtkShaderProgram *program, vtkOpenGLBufferObject *buffer, const std::string &name, int offset, size_t stride, int elementType, int elementTupleSize, bool normalize)
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
The ShaderProgram uses one or more Shader objects.