summaryrefslogtreecommitdiff
path: root/src/effects/scratch_effect.h
blob: dc67118037196d9bd09dfece6f9a39b7a3b25ddd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Scratch effect - film scratch overlay post-process

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

struct Scratch : public WgslEffect {
  Scratch(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,
                   scratch_shader_wgsl) {
  }
};