summaryrefslogtreecommitdiff
path: root/src/effects/solarize_effect.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/solarize_effect.h')
-rw-r--r--src/effects/solarize_effect.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/effects/solarize_effect.h b/src/effects/solarize_effect.h
new file mode 100644
index 0000000..6132f58
--- /dev/null
+++ b/src/effects/solarize_effect.h
@@ -0,0 +1,16 @@
+// This file is part of the 64k demo project.
+// It declares the SolarizeEffect.
+
+#pragma once
+
+#include "gpu/effect.h"
+
+class SolarizeEffect : public PostProcessEffect {
+ public:
+ SolarizeEffect(const GpuContext& ctx);
+ void render(WGPURenderPassEncoder pass,
+ const CommonPostProcessUniforms& uniforms) override;
+ void update_bind_group(WGPUTextureView input_view) override;
+
+ private:
+};