6 #ifndef GLCXX_ARRAY_HPP     7 #define GLCXX_ARRAY_HPP    35                 glBindVertexArray(
m_id);
    50             static std::shared_ptr<Array>
    53                 return std::make_shared<Array>();
 ~Array()
Destroy the vertex array object. 
Definition: Array.cpp:18
C++ wrapper for an OpenGL vertex array object. 
Definition: Array.hpp:17
Include module for the main OpenGL header. 
GLuint m_id
The vertex array object's ID. 
Definition: Array.hpp:60
void bind()
Bind the vertex array object. 
Definition: Array.hpp:33
Array()
Create and allocate an OpenGL vertex array object. 
Definition: Array.cpp:6
static std::shared_ptr< Array > create()
Factory method to construct a Array. 
Definition: Array.hpp:51
GLuint id() const 
Get the vertex array object's ID. 
Definition: Array.hpp:43