diff options
Diffstat (limited to 'src/effects/placeholder_effect_v2.h')
| -rw-r--r-- | src/effects/placeholder_effect_v2.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/effects/placeholder_effect_v2.h b/src/effects/placeholder_effect_v2.h new file mode 100644 index 0000000..aa9ed75 --- /dev/null +++ b/src/effects/placeholder_effect_v2.h @@ -0,0 +1,24 @@ +// Placeholder effect v2 - temporary passthrough for unported effects +// TODO: Replace with actual effect implementations + +#pragma once + +#include "gpu/effect_v2.h" +#include "gpu/uniform_helper.h" + +class PlaceholderEffectV2 : public EffectV2 { + public: + PlaceholderEffectV2(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_; +}; |
