This commit is contained in:
vaxerski
2022-04-04 19:44:25 +02:00
parent d15cda7e41
commit 374491ee63
13 changed files with 306 additions and 26 deletions

20
src/render/Shader.hpp Normal file
View File

@@ -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;
};