|
CGVIS Utils
|
RAII wrapper for an OpenGL Vertex Array Object (VAO). More...
#include <vector>#include <GL/glew.h>#include <GLFW/glfw3.h>#include "GLBuffer.h"#include "GLProgram.h"Go to the source code of this file.
Classes | |
| class | GLArray |
RAII wrapper for an OpenGL Vertex Array Object (VAO).
Encapsulates creation/binding/destruction of a VAO and provides helpers to associate buffer contents with shader attributes as well as to bind an index (element) buffer. Attribute specification uses the stride/format previously established on the GLBuffer via its setData() calls.