summaryrefslogtreecommitdiff
path: root/src/effects/placeholder_effect.h
blob: 72b156f78ee9020e7ae0b9e35cf00fed1931589d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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 Placeholder : public Effect {
 public:
  Placeholder(const GpuContext& ctx, const std::vector<std::string>& inputs,
              const std::vector<std::string>& outputs, float start_time,
              float end_time, const char* placeholder_name = "UnknownEffect");

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

 private:
  WGPURenderPipeline pipeline_;
  WGPUBindGroup bind_group_;
  const char* name_;
};