diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-27 13:09:34 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-11-27 13:09:34 +0000 |
commit | f43b88dfe55d107541562da04117e2929a89d3f2 (patch) | |
tree | 4d1ff7181d21a72f11aa90d5a4225bbce0561bb7 /gfx/gl/sceneProvider.h | |
parent | SceneRenderer is a graphics component, not a UI one (diff) | |
download | ilt-f43b88dfe55d107541562da04117e2929a89d3f2.tar.bz2 ilt-f43b88dfe55d107541562da04117e2929a89d3f2.tar.xz ilt-f43b88dfe55d107541562da04117e2929a89d3f2.zip |
Split SceneProvider out
Diffstat (limited to 'gfx/gl/sceneProvider.h')
-rw-r--r-- | gfx/gl/sceneProvider.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gfx/gl/sceneProvider.h b/gfx/gl/sceneProvider.h new file mode 100644 index 0000000..a966f9c --- /dev/null +++ b/gfx/gl/sceneProvider.h @@ -0,0 +1,12 @@ +#pragma once + +class SceneRenderer; +class SceneShader; + +class SceneProvider { +public: + virtual ~SceneProvider() = default; + virtual void content(const SceneShader &) const = 0; + virtual void environment(const SceneShader &, const SceneRenderer &) const; + virtual void lights(const SceneShader &) const = 0; +}; |