SO3Engine
SO3LightingManager.cpp
Go to the documentation of this file.
1
14
15#ifdef SO3_BUILD_DEFERRED
17#endif
18
21#include "SO3Renderer/SO3Root.h"
25
26namespace SO3
27{
28
29SLightingManager::SLightingManager()
30{
31}
32
33SLightingManager::SLightingManager(SScene* parent)
34{
35 currentScene = parent;
36 ogreScene = currentScene->GetOgreScenePointer();
37 shadowManager = new SShadowManager(parent);
38}
39
41{
42 Reset();
43 SO3_SAFE_DELETE(shadowManager);
44}
45
47{
48 return currentScene;
49}
50
55
57{
58 return shadowManager;
59}
60
61}
SShadowManager * GetShadowManager()
Ogre::SceneManager * GetOgreScenePointer()
Definition SO3Scene.cpp:449
void SetShadowType(const ShadowType &type)