+ | Define system + denoising back

This commit is contained in:
TheRedShip
2025-02-13 23:18:04 +01:00
parent 9b8da6ebd8
commit 4ddacdaadd
14 changed files with 376 additions and 319 deletions

View File

@ -21,15 +21,19 @@ class Shader
Shader(GLenum type, const std::string &file_path);
~Shader(void);
void compile(void);
void reload();
void setDefine(const std::string &name, const std::string &value);
GLuint getShader(void) const;
private:
void checkCompileErrors();
//
std::map<std::string, std::string> _defines;
GLenum _type;
GLuint _shader_id;
std::string _file_path;