summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneProvider.h
blob: f5e8e9978ef68b1a0b70cbd0fe47969fc86735b9 (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.h>

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;
};