blob: 190ffa9e6066c0507e79ae668e6abb546eb5672f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// This file is part of the 64k demo project.
// Scene1 effect - ShaderToy conversion (raymarching scene)
#ifndef SCENE1_EFFECT_H_
#define SCENE1_EFFECT_H_
#include "gpu/effect.h"
class Scene1Effect : public Effect {
public:
Scene1Effect(const GpuContext& ctx);
void render(WGPURenderPassEncoder pass,
const CommonPostProcessUniforms& uniforms) override;
private:
RenderPass pass_;
};
#endif /* SCENE1_EFFECT_H_ */
|