class
RVertexArrayA vertex array class that handles vertex and index buffer bindings.
Contents
Constructors, destructors, conversion operators
- RVertexArray()
- Default constructor. Acquires a vertex array object ID from OpenGL.
- ~RVertexArray()
- Destructor.
Public functions
- void addBuffer(RBuffer* buffer, GLuint index)
- Adds a buffer to the specified shader ID.
- void bindVertexArray() const
- Bind this vertex array.
- void unbindVertexArray() const
- Unbind this vertex array.