14 #ifndef vtkOpenGLVertexArrayObject_h 15 #define vtkOpenGLVertexArrayObject_h 17 #include "vtkRenderingOpenGL2Module.h" 47 void ReleaseGraphicsResources();
49 void ShaderProgramChanged();
54 int elementType,
int elementTupleSize,
bool normalize)
56 return this->AddAttributeArrayWithDivisor(program, buffer,
name,
57 offset,stride,elementType, elementTupleSize, normalize, 0,
false);
67 int elementType,
int elementTupleSize,
bool normalize,
68 int divisor,
bool isMatrix);
73 int elementType,
int elementTupleSize,
bool normalize,
81 void SetForceEmulation(
bool val);
95 #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.