summaryrefslogtreecommitdiff
path: root/src/effects/placeholder_effect.h
blob: f7917ab77053bf42a515a49161f530a40636ca6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Placeholder effect v2 - temporary passthrough for unported effects
// TODO: Replace with actual effect implementations

#pragma once

#include "gpu/effect.h"
#include "gpu/uniform_helper.h"

class PlaceholderEffect : public Effect {
 public:
  PlaceholderEffect(const GpuContext& ctx, const std::vector<std::string>& inputs,
                      const std::vector<std::string>& outputs,
                      const char* placeholder_name = "UnknownEffect");

  void render(WGPUCommandEncoder encoder, const UniformsSequenceParams& params,
              NodeRegistry& nodes) override;

 private:
  WGPURenderPipeline pipeline_;
  WGPUBindGroup bind_group_;
  WGPUSampler sampler_;
  UniformBuffer<UniformsSequenceParams> uniforms_buffer_;
  const char* name_;
};