mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
feat: Added support for OpenGL post processing shaders
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#include <hex/ui/view.hpp>
|
||||
#include <jthread.hpp>
|
||||
#include <hex/helpers/opengl.hpp>
|
||||
|
||||
struct GLFWwindow;
|
||||
struct ImGuiSettingsHandler;
|
||||
@@ -47,6 +48,10 @@ namespace hex {
|
||||
void exitImGui();
|
||||
|
||||
void registerEventHandlers();
|
||||
void loadPostProcessingShader();
|
||||
|
||||
void drawImGui();
|
||||
void drawWithShader();
|
||||
|
||||
GLFWwindow *m_window = nullptr;
|
||||
|
||||
@@ -72,6 +77,8 @@ namespace hex {
|
||||
std::atomic<bool> m_sleepFlag;
|
||||
std::condition_variable m_sleepCondVar;
|
||||
std::mutex m_sleepMutex;
|
||||
|
||||
gl::Shader m_postProcessingShader;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user