summaryrefslogtreecommitdiff
path: root/src/effects/scene2_effect.h
blob: 0e26fc304405d2d3b5ab3acdd54207c8787aa5bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// This file is part of the 64k demo project.
// Scene2 effect - ShaderToy conversion (scene)
// Generated by convert_shadertoy.py

#pragma once

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

struct Scene2Effect : public WgslEffect {
  Scene2Effect(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,
                   scene2_shader_wgsl, WGPULoadOp_Clear, {},
                   WgslSamplerType::Nearest) {}
};