diff options
| author | skal <pascal.massimino@gmail.com> | 2026-02-16 21:41:59 +0100 |
|---|---|---|
| committer | skal <pascal.massimino@gmail.com> | 2026-02-16 21:41:59 +0100 |
| commit | bb4f36f9c32a1484b62e80630825cbcec3976cad (patch) | |
| tree | ae6f5cf2df35a19946206e76027b59653fb9a79a /src/effects/heptagon_effect.cc | |
| parent | d4aa74ed05f8573beaaa53ad20a38605d2daa0ea (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/heptagon_effect.cc')
| -rw-r--r-- | src/effects/heptagon_effect.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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<std::string>& inputs, const std::vector<std::string>& 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) |
