|
glcxx: A Modern C++ Interface to OpenGL Object Management
|
C++ wrapper for an OpenGL vertex array object. More...
#include <Array.hpp>
Public Member Functions | |
| Array () | |
| Create and allocate an OpenGL vertex array object. | |
| ~Array () | |
| Destroy the vertex array object. | |
| void | bind () |
| Bind the vertex array object. | |
| GLuint | id () const |
| Get the vertex array object's ID. More... | |
Static Public Member Functions | |
| static std::shared_ptr< Array > | create () |
| Factory method to construct a Array. More... | |
Protected Attributes | |
| GLuint | m_id |
| The vertex array object's ID. | |
C++ wrapper for an OpenGL vertex array object.
|
inlinestatic |
|
inline |
Get the vertex array object's ID.
1.8.11