aboutsummaryrefslogtreecommitdiff
path: root/include/ISceneManager.h
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-04-13 18:07:12 +0200
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-04-13 18:07:12 +0200
commit437b6619f6d3838b38aae0b6468ce7b4f7b2d891 (patch)
treeef55c521e2ef9b688256b9f6dbc8ba433d0e8491 /include/ISceneManager.h
parentbf90df100e120e272c14c7975a22ed01bf3ad215 (diff)
downloadirrlicht-light.tar.xz
Add back LightManagerHEADlight
Diffstat (limited to 'include/ISceneManager.h')
-rw-r--r--include/ISceneManager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ISceneManager.h b/include/ISceneManager.h
index 4cd31e2..d4f0a8f 100644
--- a/include/ISceneManager.h
+++ b/include/ISceneManager.h
@@ -102,6 +102,7 @@ namespace scene
class IBillboardSceneNode;
class ICameraSceneNode;
class IDummyTransformationSceneNode;
+ class ILightManager;
class ILightSceneNode;
class IMesh;
class IMeshBuffer;
@@ -650,6 +651,11 @@ namespace scene
//! Get ambient color of the scene
virtual const video::SColorf& getAmbientLight() const = 0;
+ //! Register a custom callbacks manager which gets callbacks during scene rendering.
+ /** \param[in] lightManager: the new callbacks manager. You may pass 0 to remove the
+ current callbacks manager and restore the default behavior. */
+ virtual void setLightManager(ILightManager* lightManager) = 0;
+
//! Get current render pass.
virtual E_SCENE_NODE_RENDER_PASS getCurrentRenderPass() const =0;