From 77c3389fdadc1f3d595dcc9f1a8d34be4255806f Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 16 Feb 2026 08:44:31 +0100 Subject: feat(sequence): Phase 3 - Port 3 effects to v2 - PassthroughEffectV2: simple copy effect - GaussianBlurEffectV2: post-process with params - HeptagonEffectV2: scene rendering effect All use EffectV2 base with multi-input/output support. Demonstrates single-pass, parameterized, and scene patterns. Tests: 35/35 passing handoff(Claude): Phase 3 complete, 3 v2 effects operational --- src/effects/passthrough_effect_v2.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/effects/passthrough_effect_v2.h (limited to 'src/effects/passthrough_effect_v2.h') diff --git a/src/effects/passthrough_effect_v2.h b/src/effects/passthrough_effect_v2.h new file mode 100644 index 0000000..813361e --- /dev/null +++ b/src/effects/passthrough_effect_v2.h @@ -0,0 +1,19 @@ +// Passthrough effect v2 - simple copy input to output + +#pragma once + +#include "gpu/effect_v2.h" + +class PassthroughEffectV2 : public EffectV2 { + public: + PassthroughEffectV2(const GpuContext& ctx, const std::vector& inputs, + const std::vector& outputs); + + void render(WGPUCommandEncoder encoder, const UniformsSequenceParams& params, + NodeRegistry& nodes) override; + + private: + WGPURenderPipeline pipeline_; + WGPUBindGroup bind_group_; + WGPUSampler sampler_; +}; -- cgit v1.2.3