diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-04 19:44:25 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-04 19:44:25 +0200 |
| commit | 374491ee63807147a8333ee415428303f99aa466 (patch) | |
| tree | 6d077d095a65559d25e6584ff343aab906d9b0f7 /src/render/Shader.hpp | |
| parent | d15cda7e4141eb73838cf0e5452c24d427028273 (diff) | |
progress
Diffstat (limited to 'src/render/Shader.hpp')
| -rw-r--r-- | src/render/Shader.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/render/Shader.hpp b/src/render/Shader.hpp new file mode 100644 index 00000000..630dd32f --- /dev/null +++ b/src/render/Shader.hpp @@ -0,0 +1,20 @@ +#pragma once + +#include "../defines.hpp" + +struct SQuad { + GLuint program; + GLint proj; + GLint color; + GLint posAttrib; +}; + +class CShader { +public: + GLuint program; + GLint proj; + GLint tex; + GLint alpha; + GLint posAttrib; + GLint texAttrib; +};
\ No newline at end of file |
