summaryrefslogtreecommitdiff
path: root/src/render/Shader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Shader.hpp')
-rw-r--r--src/render/Shader.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/render/Shader.hpp b/src/render/Shader.hpp
new file mode 100644
index 00000000..630dd32f
--- /dev/null
+++ b/src/render/Shader.hpp
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "../defines.hpp"
+
+struct SQuad {
+ GLuint program;
+ GLint proj;
+ GLint color;
+ GLint posAttrib;
+};
+
+class CShader {
+public:
+ GLuint program;
+ GLint proj;
+ GLint tex;
+ GLint alpha;
+ GLint posAttrib;
+ GLint texAttrib;
+}; \ No newline at end of file