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
commitf1517709556827fb8b7bab00bdee4a9794d88dd1 (patch)
treea1b2325c8bc693bff0ace1fd98ea7dac91f76286 /src/Core/Application.h
parent1ad6bc34323f5b30d463ebe47a58d47ff9d4f328 (diff)
[add]: Compute shaders and Compute Textures
Diffstat (limited to 'src/Core/Application.h')
-rw-r--r--src/Core/Application.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Core/Application.h b/src/Core/Application.h
index 7406136..922af67 100644
--- a/src/Core/Application.h
+++ b/src/Core/Application.h
@@ -47,6 +47,14 @@ namespace Donut
std::shared_ptr<Shader> m_Shader;
std::shared_ptr<Texture2D> m_Texture;
+ // Compute shader related members
+ std::shared_ptr<Shader> m_ComputeShader;
+ std::shared_ptr<Texture2D> m_ProcessedTexture;
+ float m_ComputeBrightness;
+ float m_ComputeContrast;
+ float m_ComputeSaturation;
+ bool m_UseComputeShader;
+
std::unique_ptr<Camera> m_Camera;
bool m_Keys[1024] = { false };