Hyprland/src/render/Shader.hpp

22 lines
316 B
C++
Raw Normal View History

2022-04-04 19:44:25 +02:00
#pragma once
#include "../defines.hpp"
struct SQuad {
GLuint program;
GLint proj;
GLint color;
GLint posAttrib;
2022-05-17 13:16:37 +02:00
GLint texAttrib;
2022-04-04 19:44:25 +02:00
};
class CShader {
public:
GLuint program;
GLint proj;
GLint tex;
GLint alpha;
GLint posAttrib;
GLint texAttrib;
2022-04-17 13:15:56 +02:00
GLint discardOpaque;
2022-04-04 19:44:25 +02:00
};