]> git.lizzy.rs Git - irrlicht.git/blobdiff - include/ISceneManager.h
Add back LightManager
[irrlicht.git] / include / ISceneManager.h
index 4cd31e2001a9897ad5690df9164580544385df1d..d4f0a8f1ca3021e17e46477bee7ab1a92e089f30 100644 (file)
@@ -102,6 +102,7 @@ namespace scene
        class IBillboardSceneNode;\r
        class ICameraSceneNode;\r
        class IDummyTransformationSceneNode;\r
+       class ILightManager;\r
        class ILightSceneNode;\r
        class IMesh;\r
        class IMeshBuffer;\r
@@ -650,6 +651,11 @@ namespace scene
                //! Get ambient color of the scene\r
                virtual const video::SColorf& getAmbientLight() const = 0;\r
 \r
+               //! Register a custom callbacks manager which gets callbacks during scene rendering.\r
+               /** \param[in] lightManager: the new callbacks manager. You may pass 0 to remove the\r
+                       current callbacks manager and restore the default behavior. */\r
+               virtual void setLightManager(ILightManager* lightManager) = 0;\r
+\r
                //! Get current render pass.\r
                virtual E_SCENE_NODE_RENDER_PASS getCurrentRenderPass() const =0;\r
 \r