From bb4f36f9c32a1484b62e80630825cbcec3976cad Mon Sep 17 00:00:00 2001 From: skal Date: Mon, 16 Feb 2026 21:41:59 +0100 Subject: refactor: complete removal of 'Effect' suffix from C++ class names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update effect class definitions in headers and implementations to match timeline.seq naming convention. All tests passing (34/34). Classes renamed: - PassthroughEffect → Passthrough - GaussianBlurEffect → GaussianBlur - PlaceholderEffect → Placeholder - HeptagonEffect → Heptagon - ParticlesEffect → Particles - RotatingCubeEffect → RotatingCube - Hybrid3DEffect → Hybrid3D - FlashEffect → Flash - PeakMeterEffect → PeakMeter Co-Authored-By: Claude Sonnet 4.5 --- src/effects/heptagon_effect.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/effects/heptagon_effect.cc') diff --git a/src/effects/heptagon_effect.cc b/src/effects/heptagon_effect.cc index 303ab2a..755b6e3 100644 --- a/src/effects/heptagon_effect.cc +++ b/src/effects/heptagon_effect.cc @@ -6,7 +6,7 @@ #include "gpu/post_process_helper.h" #include "gpu/shaders.h" -HeptagonEffect::HeptagonEffect(const GpuContext& ctx, +Heptagon::Heptagon(const GpuContext& ctx, const std::vector& inputs, const std::vector& outputs) : Effect(ctx, inputs, outputs), pipeline_(nullptr), bind_group_(nullptr), sampler_(nullptr) { @@ -41,7 +41,7 @@ HeptagonEffect::HeptagonEffect(const GpuContext& ctx, dummy_texture_view_ = wgpuTextureCreateView(dummy_texture_, nullptr); } -HeptagonEffect::~HeptagonEffect() { +Heptagon::~Heptagon() { if (bind_group_) wgpuBindGroupRelease(bind_group_); if (pipeline_) wgpuRenderPipelineRelease(pipeline_); if (sampler_) wgpuSamplerRelease(sampler_); @@ -49,7 +49,7 @@ HeptagonEffect::~HeptagonEffect() { if (dummy_texture_) wgpuTextureRelease(dummy_texture_); } -void HeptagonEffect::render(WGPUCommandEncoder encoder, +void Heptagon::render(WGPUCommandEncoder encoder, const UniformsSequenceParams& params, NodeRegistry& nodes) { // Get output view (scene effects typically write to output, ignore input) -- cgit v1.2.3