summaryrefslogtreecommitdiff
path: root/src/effects/peak_meter_effect.cc
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-02-16 21:41:59 +0100
committerskal <pascal.massimino@gmail.com>2026-02-16 21:41:59 +0100
commitbb4f36f9c32a1484b62e80630825cbcec3976cad (patch)
treeae6f5cf2df35a19946206e76027b59653fb9a79a /src/effects/peak_meter_effect.cc
parentd4aa74ed05f8573beaaa53ad20a38605d2daa0ea (diff)
refactor: complete removal of 'Effect' suffix from C++ class names
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 <noreply@anthropic.com>
Diffstat (limited to 'src/effects/peak_meter_effect.cc')
-rw-r--r--src/effects/peak_meter_effect.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/effects/peak_meter_effect.cc b/src/effects/peak_meter_effect.cc
index 692d851..124c59b 100644
--- a/src/effects/peak_meter_effect.cc
+++ b/src/effects/peak_meter_effect.cc
@@ -5,7 +5,7 @@
#include "gpu/shader_composer.h"
#include "util/fatal_error.h"
-PeakMeterEffect::PeakMeterEffect(const GpuContext& ctx,
+PeakMeter::PeakMeter(const GpuContext& ctx,
const std::vector<std::string>& inputs,
const std::vector<std::string>& outputs)
: Effect(ctx, inputs, outputs), pipeline_(nullptr), bind_group_(nullptr) {
@@ -63,12 +63,12 @@ PeakMeterEffect::PeakMeterEffect(const GpuContext& ctx,
shader_code.c_str());
}
-PeakMeterEffect::~PeakMeterEffect() {
+PeakMeter::~PeakMeter() {
if (bind_group_) wgpuBindGroupRelease(bind_group_);
if (pipeline_) wgpuRenderPipelineRelease(pipeline_);
}
-void PeakMeterEffect::render(WGPUCommandEncoder encoder,
+void PeakMeter::render(WGPUCommandEncoder encoder,
const UniformsSequenceParams& params,
NodeRegistry& nodes) {
WGPUTextureView input_view = nodes.get_view(input_nodes_[0]);