refactor vao object to use acutal OpenGL IDs rather than object pointers
This commit is contained in:
@@ -25,6 +25,11 @@ public:
|
||||
*/
|
||||
void bind();
|
||||
|
||||
/*
|
||||
* Returns the OpenGL ID of the buffer object.
|
||||
*/
|
||||
uint32_t getID() const;
|
||||
|
||||
private:
|
||||
const std::vector<vertex_type> array;
|
||||
uint32_t buffer = 0;
|
||||
|
||||
Reference in New Issue
Block a user