Hyprland/src/render/Shader.hpp
2022-07-29 17:07:33 +02:00

34 lines
No EOL
556 B
C++

#pragma once
#include "../defines.hpp"
#include <unordered_map>
class CShader {
public:
GLuint program;
GLint proj;
GLint color;
GLint tex;
GLint alpha;
GLint posAttrib;
GLint texAttrib;
GLint discardOpaque;
GLint topLeft;
GLint bottomRight;
GLint fullSize;
GLint radius;
GLint primitiveMultisample;
GLint thick;
GLint halfpixel;
GLint range;
GLint shadowPower;
GLint getUniformLocation(const std::string&);
private:
std::unordered_map<std::string, GLint> m_muUniforms;
};