diff options
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) |
