summaryrefslogtreecommitdiff
path: root/src/effects/flash_effect.h
blob: 1871186dab70ea568b2965bc2398a0416c3eeac7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Flash effect - beat-synchronized white flash

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

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