summaryrefslogtreecommitdiff
path: root/src/effects/moving_ellipse_effect.h
blob: 46c1f0e0601609b0281f3100ef68a509a2f716f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// This file is part of the 64k demo project.
// It declares the MovingEllipseEffect.

#pragma once

#include "gpu/effect.h"

class MovingEllipseEffect : public Effect {
 public:
  MovingEllipseEffect(const GpuContext& ctx);
  void render(WGPURenderPassEncoder pass,
              const CommonPostProcessUniforms& uniforms) override;

 private:
  RenderPass pass_;
};