diff options
Diffstat (limited to 'src/effects/passthrough_effect.h')
| -rw-r--r-- | src/effects/passthrough_effect.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/effects/passthrough_effect.h b/src/effects/passthrough_effect.h index 125ac5a..1c60e02 100644 --- a/src/effects/passthrough_effect.h +++ b/src/effects/passthrough_effect.h @@ -4,18 +4,18 @@ #include "gpu/effect.h" #include "gpu/uniform_helper.h" +#include "gpu/wgpu_resource.h" -class PassthroughEffect : public Effect { +class Passthrough : public Effect { public: - PassthroughEffect(const GpuContext& ctx, const std::vector<std::string>& inputs, - const std::vector<std::string>& outputs); + Passthrough(const GpuContext& ctx, const std::vector<std::string>& inputs, + const std::vector<std::string>& outputs, float start_time, + float end_time); void render(WGPUCommandEncoder encoder, const UniformsSequenceParams& params, NodeRegistry& nodes) override; private: - WGPURenderPipeline pipeline_; - WGPUBindGroup bind_group_; - WGPUSampler sampler_; - UniformBuffer<UniformsSequenceParams> uniforms_buffer_; + RenderPipeline pipeline_; + BindGroup bind_group_; }; |
