feat: Added support for OpenGL post processing shaders

This commit is contained in:
WerWolv
2025-01-20 21:24:25 +01:00
parent c117d9b3e5
commit 07e29f2030
4 changed files with 137 additions and 13 deletions

View File

@@ -807,6 +807,8 @@ namespace hex::gl {
void bind() const;
void unbind() const;
bool isValid() const { return m_program != 0; }
void setUniform(std::string_view name, const int &value);
void setUniform(std::string_view name, const float &value);