blob: 24cf3f4bce8fd74c5312dc506154b454462e670a (
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
|
// 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_;
WGPUSampler sampler_;
UniformBuffer<UniformsSequenceParams> uniforms_buffer_;
const char* name_;
};
|