summaryrefslogtreecommitdiff
path: root/ui/gameMainWindow.h
blob: 03364f24ae07ca639fb1b90320830a1d70d575e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "chronology.hpp"
#include "gfx/gl/sceneRenderer.h"
#include "window.h"
#include <cstddef>

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;
	void lights(const SceneShader &) const override;
};