3 #ifndef vtkOpenGLVertexArrayObject_h
4 #define vtkOpenGLVertexArrayObject_h
7 #include "vtkRenderingOpenGL2Module.h"
10 VTK_ABI_NAMESPACE_BEGIN
37 void ReleaseGraphicsResources();
39 void ShaderProgramChanged();
45 return this->AddAttributeArrayWithDivisor(
46 program, buffer, name, offset, stride, elementType, elementTupleSize, normalize, 0,
false);
54 bool normalize,
int divisor,
bool isMatrix);
58 bool normalize,
int divisor,
int tupleOffset);
65 void SetForceEmulation(
bool val);
79 #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.