SO3Engine
src
SO3Renderer
SO3LightingManager.cpp
Go to the documentation of this file.
1
8
#include "
SO3Renderer/SO3ShadowManager.h
"
9
#include "
SO3Renderer/SO3LightingManager.h
"
10
#include "
SO3Renderer/SO3Shadow.h
"
11
#include "
SO3Renderer/SO3ShadowStencil.h
"
12
#include "
SO3Renderer/SO3ShadowLiSPSM.h
"
13
#include "
SO3Renderer/SO3ShadowPSSM.h
"
14
15
#ifdef SO3_BUILD_DEFERRED
16
#include "
SO3Renderer/SO3ShadowDeferred.h
"
17
#endif
18
19
#include "
SO3Renderer/SO3Window.h
"
20
#include "
SO3Renderer/SO3ViewPort.h
"
21
#include "
SO3Renderer/SO3Root.h
"
22
#include "
SO3SceneGraph/SO3Scene.h
"
23
#include "
SO3Utils/SO3ConversionTools.h
"
24
#include "
SO3Material/SO3Material.h
"
25
26
namespace
SO3
27
{
28
29
SLightingManager::SLightingManager()
30
{
31
}
32
33
SLightingManager::SLightingManager(
SScene
* parent)
34
{
35
currentScene = parent;
36
ogreScene = currentScene->
GetOgreScenePointer
();
37
shadowManager =
new
SShadowManager
(parent);
38
}
39
40
SLightingManager::~SLightingManager
()
41
{
42
Reset
();
43
SO3_SAFE_DELETE(shadowManager);
44
}
45
46
SScene
*
SLightingManager::GetParentScene
()
47
{
48
return
currentScene;
49
}
50
51
void
SLightingManager::Reset
()
52
{
53
shadowManager->
SetShadowType
(
SShadowManager::SO3_SHADOWS_NONE
);
54
}
55
56
SShadowManager
*
SLightingManager::GetShadowManager
()
57
{
58
return
shadowManager;
59
}
60
61
}
SO3ConversionTools.h
SO3LightingManager.h
SO3Material.h
SO3Root.h
SO3Scene.h
SO3Shadow.h
SO3ShadowDeferred.h
SO3ShadowLiSPSM.h
SO3ShadowManager.h
SO3ShadowPSSM.h
SO3ShadowStencil.h
SO3ViewPort.h
SO3Window.h
SO3::SLightingManager::~SLightingManager
~SLightingManager()
Definition
SO3LightingManager.cpp:40
SO3::SLightingManager::GetParentScene
SScene * GetParentScene()
Definition
SO3LightingManager.cpp:46
SO3::SLightingManager::GetShadowManager
SShadowManager * GetShadowManager()
Definition
SO3LightingManager.cpp:56
SO3::SLightingManager::Reset
void Reset()
Definition
SO3LightingManager.cpp:51
SO3::SScene
Definition
SO3Scene.h:125
SO3::SScene::GetOgreScenePointer
Ogre::SceneManager * GetOgreScenePointer()
Definition
SO3Scene.cpp:449
SO3::SShadowManager
Definition
SO3ShadowManager.h:43
SO3::SShadowManager::SO3_SHADOWS_NONE
@ SO3_SHADOWS_NONE
Definition
SO3ShadowManager.h:50
SO3::SShadowManager::SetShadowType
void SetShadowType(const ShadowType &type)
Definition
SO3ShadowManager.cpp:94
SO3
Definition
SO3DataScol.h:38
Generated by
1.9.8