~ | Shader hot reloading

This commit is contained in:
TheRedShip
2025-02-14 00:10:46 +01:00
parent 4ddacdaadd
commit 583e15685a
9 changed files with 90 additions and 40 deletions

View File

@ -26,11 +26,12 @@ class ShaderProgram
void link(void);
void use(void) const;
void dispathCompute(GLuint x, GLuint y, GLuint z) const;
void use(void);
void dispathCompute(GLuint x, GLuint y, GLuint z);
void bindImageTexture(GLuint texture_id, GLuint unit, GLenum access, GLenum format) const;
void watchForChanges(void);
void reloadShaders(void);
void set_int(const std::string &name, int value) const;