Some cleanups

This commit is contained in:
2021-01-13 19:03:47 +01:00
parent 89ae811beb
commit 0370a2e871
24 changed files with 321 additions and 237 deletions

View File

@@ -22,20 +22,15 @@ public:
void setUniform(const char *name, glm::mat3 matrix) const;
void setUniform(const char *name, glm::mat4 matrix) const;
GLuint getShaderProgramId()
{
return shaderProgramId;
}
std::string getUniqueName()
{
return unique_name;
}
public:
GLuint getShaderProgramId();
std::string getUniqueName();
private:
std::string parse(const char *filename);
GLuint compile(std::string shaderSource, GLenum type);
private:
GLuint shaderProgramId;
std::string unique_name;
};