Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include <GL/glew.h>
- class VertexArray
- {
- public:
- VertexArray();
- ~VertexArray();
- void bind()const;
- void unbind()const;
- void addVertexBufferData(int location, int sizeOfVertexAttr, int dataType, int stride, int offset);
- private:
- unsigned int vao_;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement