progress
This commit is contained in:
parent
d15cda7e41
commit
374491ee63
13 changed files with 306 additions and 26 deletions
20
src/render/Shader.hpp
Normal file
20
src/render/Shader.hpp
Normal 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;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue