#pragma once #include "chronology.h" #include "gfx/gl/sceneRenderer.h" #include "window.h" #include class GameMainWindow : public Window, SceneRenderer, public SceneProvider { public: GameMainWindow(size_t w, size_t h); ~GameMainWindow() override; void tick(TickDuration) override; void render() const override; NO_MOVE(GameMainWindow); NO_COPY(GameMainWindow); private: void content(const SceneShader &) const override; void environment(const SceneShader &, const SceneRenderer &) const override; void lights(const SceneShader &) const override; void shadows(const ShadowMapper &) const override; };