mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-11 11:25:59 +01:00
34 lines
No EOL
556 B
C++
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;
|
|
}; |