diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-19 15:04:30 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-23 18:38:43 +0000 |
commit | ffdaa93edf5eeaf9db7dc17e51554a77dd9d596d (patch) | |
tree | 5ec8af60e0761417d4f80a012679e3071de59888 /ui/gameMainWindow.h | |
parent | Shared context, persist main window in test, send test for upcoming pointlight (diff) | |
download | ilt-ffdaa93edf5eeaf9db7dc17e51554a77dd9d596d.tar.bz2 ilt-ffdaa93edf5eeaf9db7dc17e51554a77dd9d596d.tar.xz ilt-ffdaa93edf5eeaf9db7dc17e51554a77dd9d596d.zip |
Separate out the illumation of the scene
Diffstat (limited to 'ui/gameMainWindow.h')
-rw-r--r-- | ui/gameMainWindow.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/gameMainWindow.h b/ui/gameMainWindow.h index 1e6af20..8485266 100644 --- a/ui/gameMainWindow.h +++ b/ui/gameMainWindow.h @@ -5,11 +5,15 @@ #include "window.h" #include <cstddef> -class GameMainWindow : public Window, SceneRenderer { +class GameMainWindow : public Window, SceneRenderer, public SceneRenderer::SceneProvider { public: GameMainWindow(size_t w, size_t h); void tick(TickDuration) override; void render() const override; + +private: + void content(const SceneShader &) const override; + void environment(const SceneShader &, const SceneRenderer &) const override; }; |