 |
VTK
9.0.1
|
Go to the documentation of this file.
14 #ifndef vtkOpenGLVertexArrayObject_h
15 #define vtkOpenGLVertexArrayObject_h
18 #include "vtkRenderingOpenGL2Module.h"
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);
88 #endif // vtkOpenGLVertexArrayObject_h
static vtkOpenGLVertexArrayObject * New()
void ShaderProgramChanged()
abstract base class for most VTK objects
bool AddAttributeArray(vtkShaderProgram *program, vtkOpenGLBufferObject *buffer, const std::string &name, int offset, size_t stride, int elementType, int elementTupleSize, bool normalize)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkOpenGLVertexArrayObject() override
The ShaderProgram uses one or more Shader objects.
a simple class to control print indentation
vtkOpenGLVertexArrayObject()
bool AddAttributeMatrixWithDivisor(vtkShaderProgram *program, vtkOpenGLBufferObject *buffer, const std::string &name, int offset, size_t stride, int elementType, int elementTupleSize, bool normalize, int divisor, int tupleOffset)
bool RemoveAttributeArray(const std::string &name)
bool AddAttributeArray(vtkShaderProgram *program, vtkOpenGLVertexBufferObject *buffer, const std::string &name, int offset, bool normalize)
void ReleaseGraphicsResources()
The VertexArrayObject class uses, or emulates, vertex array objects.
bool AddAttributeArrayWithDivisor(vtkShaderProgram *program, vtkOpenGLBufferObject *buffer, const std::string &name, int offset, size_t stride, int elementType, int elementTupleSize, bool normalize, int divisor, bool isMatrix)
void SetForceEmulation(bool val)