mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-05 14:45:58 +01:00
21 lines
No EOL
362 B
C++
21 lines
No EOL
362 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 getUniformLocation(const std::string&);
|
|
|
|
private:
|
|
std::unordered_map<std::string, GLint> m_muUniforms;
|
|
}; |