summaryrefslogtreecommitdiff
path: root/src/effects/passthrough_effect.h
blob: 9137b48a9d212fd45a99e91392d59d4ea25f85c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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) {
  }
};