summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneProvider.h
blob: 1d9ba573eef3649df2214aaedbf51294001fb1c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <special_members.hpp>

class SceneRenderer;
class ShadowMapper;
class SceneShader;

class SceneProvider {
public:
	SceneProvider() = default;
	virtual ~SceneProvider() = default;
	DEFAULT_MOVE_COPY(SceneProvider);

	virtual void content(const SceneShader &) const = 0;
	virtual void environment(const SceneShader &, const SceneRenderer &) const;
	virtual void lights(const SceneShader &) const = 0;
	virtual void shadows(const ShadowMapper &) const;
};