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.hpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/render/Shader.hpp b/src/render/Shader.hpp
index f107bb6d..a5aa6efb 100644
--- a/src/render/Shader.hpp
+++ b/src/render/Shader.hpp
@@ -4,43 +4,43 @@
#include <unordered_map>
class CShader {
-public:
+ public:
~CShader();
GLuint program = 0;
- GLint proj;
- GLint color;
- GLint tex;
- GLint alpha;
- GLint posAttrib;
- GLint texAttrib;
- GLint discardOpaque;
+ GLint proj;
+ GLint color;
+ GLint tex;
+ GLint alpha;
+ GLint posAttrib;
+ GLint texAttrib;
+ GLint discardOpaque;
- GLint topLeft;
- GLint bottomRight;
- GLint fullSize;
- GLint fullSizeUntransformed;
- GLint radius;
- GLint primitiveMultisample;
+ GLint topLeft;
+ GLint bottomRight;
+ GLint fullSize;
+ GLint fullSizeUntransformed;
+ GLint radius;
+ GLint primitiveMultisample;
- GLint thick;
+ GLint thick;
- GLint halfpixel;
+ GLint halfpixel;
- GLint range;
- GLint shadowPower;
+ GLint range;
+ GLint shadowPower;
- GLint applyTint;
- GLint tint;
+ GLint applyTint;
+ GLint tint;
- GLint gradient;
- GLint gradientLength;
- GLint angle;
+ GLint gradient;
+ GLint gradientLength;
+ GLint angle;
- GLint getUniformLocation(const std::string&);
+ GLint getUniformLocation(const std::string&);
- void destroy();
+ void destroy();
-private:
+ private:
std::unordered_map<std::string, GLint> m_muUniforms;
}; \ No newline at end of file