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