added uniforms

This commit is contained in:
2026-04-15 23:54:09 +02:00
parent ee06b834b9
commit 291f774a95
6 changed files with 126 additions and 8 deletions

View File

@@ -10,6 +10,8 @@ struct Shader {
void bind();
void unbind();
GLuint getShaderId();
private:
GLuint compile(std::string shaderSource, GLenum shaderType);
std::string parse(const char* filename);