summaryrefslogtreecommitdiff
path: root/src/effects/passthrough_effect.h
blob: 285663f55488d95fdbbc67a8d483e3e03b9a6e5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Passthrough effect v2 - simple copy input to output

#pragma once
#include "effects/shaders.h"
#include "gpu/wgsl_effect.h"

struct Passthrough : public WgslEffect {
  Passthrough(const GpuContext& ctx, const std::vector<std::string>& inputs,
              const std::vector<std::string>& outputs, float start_time,
              float end_time)
      : WgslEffect(ctx, inputs, outputs, start_time, end_time,
                   passthrough_shader_wgsl) {}
};