blob: effc19fdc5c60cfa65a69920ac2f952097beb2b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// This file is part of the 64k demo project.
// Scene2 effect - ShaderToy conversion (scene)
// Generated by convert_shadertoy.py
#pragma once
#include "gpu/effect.h"
#include "gpu/wgpu_resource.h"
class Scene2Effect : public Effect {
public:
Scene2Effect(const GpuContext& ctx,
const std::vector<std::string>& inputs,
const std::vector<std::string>& outputs,
float start_time, float end_time);
void render(WGPUCommandEncoder encoder,
const UniformsSequenceParams& params,
NodeRegistry& nodes) override;
private:
RenderPipeline pipeline_;
BindGroup bind_group_;
};
|