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