diff options
Diffstat (limited to 'src/effects/placeholder_effect.h')
| -rw-r--r-- | src/effects/placeholder_effect.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/effects/placeholder_effect.h b/src/effects/placeholder_effect.h new file mode 100644 index 0000000..f7917ab --- /dev/null +++ b/src/effects/placeholder_effect.h @@ -0,0 +1,25 @@ +// Placeholder effect v2 - temporary passthrough for unported effects +// TODO: Replace with actual effect implementations + +#pragma once + +#include "gpu/effect.h" +#include "gpu/uniform_helper.h" + +class PlaceholderEffect : public Effect { + public: + PlaceholderEffect(const GpuContext& ctx, const std::vector<std::string>& inputs, + const std::vector<std::string>& outputs, + const char* placeholder_name = "UnknownEffect"); + + void render(WGPUCommandEncoder encoder, const UniformsSequenceParams& params, + NodeRegistry& nodes) override; + + private: + WGPURenderPipeline pipeline_; + WGPUBindGroup bind_group_; + WGPUSampler sampler_; + UniformBuffer<UniformsSequenceParams> uniforms_buffer_; + const char* name_; +}; + |
