hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/core/application.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-13 18:20:54 +0200
committerhachem <im@hachem.wtf>2025-08-13 18:20:54 +0200
commit2d8f706efe6e0a02b3238c2f22e7cdce620e9807 (patch)
tree06734503f8422c1509da09b5dd6a3ce50bad875c /src/core/application.h
parent3b02022fd79ad0e130b8c49e7707d221bfc97bb5 (diff)
feat: compute shaders and compute textures
Diffstat (limited to 'src/core/application.h')
-rw-r--r--src/core/application.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/application.h b/src/core/application.h
index 2d8c55a..713ecba 100644
--- a/src/core/application.h
+++ b/src/core/application.h
@@ -47,6 +47,13 @@ namespace Donut
std::shared_ptr<Shader> m_shader;
std::shared_ptr<Texture2D> m_texture;
+ std::shared_ptr<Shader> m_compute_shader;
+ std::shared_ptr<Texture2D> m_processed_texture;
+ float m_compute_brightness;
+ float m_compute_contrast;
+ float m_compute_saturation;
+ bool m_use_compute_shader;
+
std::unique_ptr<Camera> m_camera;
bool m_keys[1024] = { false };