aboutsummaryrefslogtreecommitdiff
path: root/src/buffer/vertex/material_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer/vertex/material_buffer.h')
-rw-r--r--src/buffer/vertex/material_buffer.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/buffer/vertex/material_buffer.h b/src/buffer/vertex/material_buffer.h
new file mode 100644
index 0000000..eccf008
--- /dev/null
+++ b/src/buffer/vertex/material_buffer.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include <GL/glew.h>
+
+class MaterialBuffer {
+private:
+ const GLuint _nX;
+ const GLuint _nY;
+
+ GLuint _array;
+ GLuint _buffer;
+
+public:
+ MaterialBuffer(GLuint nX, GLuint nY);
+ ~MaterialBuffer();
+
+ GLuint getBuffer() const;
+};