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/flash_effect.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/effects/flash_effect.cc') diff --git a/src/effects/flash_effect.cc b/src/effects/flash_effect.cc index 1d0e629..787e33d 100644 --- a/src/effects/flash_effect.cc +++ b/src/effects/flash_effect.cc @@ -6,7 +6,7 @@ #include "gpu/shaders.h" #include "util/fatal_error.h" -FlashEffect::FlashEffect(const GpuContext& ctx, +Flash::Flash(const GpuContext& ctx, const std::vector& inputs, const std::vector& outputs) : Effect(ctx, inputs, outputs), pipeline_(nullptr), bind_group_(nullptr), @@ -39,7 +39,7 @@ FlashEffect::FlashEffect(const GpuContext& ctx, dummy_texture_view_ = wgpuTextureCreateView(dummy_texture_, nullptr); } -FlashEffect::~FlashEffect() { +Flash::~Flash() { if (bind_group_) wgpuBindGroupRelease(bind_group_); if (pipeline_) wgpuRenderPipelineRelease(pipeline_); if (sampler_) wgpuSamplerRelease(sampler_); @@ -47,7 +47,7 @@ FlashEffect::~FlashEffect() { if (dummy_texture_) wgpuTextureRelease(dummy_texture_); } -void FlashEffect::render(WGPUCommandEncoder encoder, +void Flash::render(WGPUCommandEncoder encoder, const UniformsSequenceParams& params, NodeRegistry& nodes) { // Get output view (scene effects typically write to output, ignore input) -- cgit v1.2.3