PixelLightAPI
.
|
Scene context. More...
#include <SceneContext.h>
Public Member Functions | |
PLS_API | SceneContext (PLRenderer::RendererContext &cRendererContext) |
Constructor. | |
PLS_API | ~SceneContext () |
Destructor. | |
PLS_API PLRenderer::RendererContext & | GetRendererContext () const |
Returns the used renderer context. | |
PLS_API PLMesh::MeshManager & | GetMeshManager () |
Returns the mesh manager. | |
PLS_API PLMath::GraphPathManager & | GetGraphPathManager () |
Returns the graph path manager. | |
PLS_API SceneContainer * | GetRoot () |
Returns the root of the scene graph. | |
PLS_API void | Cleanup () |
Performs a cleanup-operation (garbage collection) | |
PLS_API void | Update (bool bRespectPause=true) |
Method that is called once per update loop. | |
PLS_API SceneRendererManager & | GetSceneRendererManager () |
Returns the scene renderer manager. | |
PLS_API VisManager & | GetVisManager () |
Returns the visibility manager. | |
PLS_API bool | StartProcess () |
Starts a scene process. | |
PLS_API bool | IsNodeTouched (SceneNode &cSceneNode) const |
Checks whether a scene node was touched. | |
PLS_API bool | TouchNode (SceneNode &cSceneNode) |
Touches a scene node. | |
PLS_API bool | EndProcess () |
Ends a scene process. | |
Public Attributes | |
PLCore::Event | EventUpdate |
Scene context.
PLS_API PLScene::SceneContext::SceneContext | ( | PLRenderer::RendererContext & | cRendererContext | ) |
Constructor.
[in] | cRendererContext | Renderer context to use |
PLS_API PLScene::SceneContext::~SceneContext | ( | ) |
Destructor.
PLS_API PLRenderer::RendererContext& PLScene::SceneContext::GetRendererContext | ( | ) | const |
Returns the used renderer context.
PLS_API PLMesh::MeshManager& PLScene::SceneContext::GetMeshManager | ( | ) |
Returns the mesh manager.
Returns the graph path manager.
PLS_API SceneContainer* PLScene::SceneContext::GetRoot | ( | ) |
Returns the root of the scene graph.
PLS_API void PLScene::SceneContext::Cleanup | ( | ) |
Performs a cleanup-operation (garbage collection)
PLS_API void PLScene::SceneContext::Update | ( | bool | bRespectPause = true | ) |
Method that is called once per update loop.
[in] | bRespectPause | Respect pause? ("PLCore::Timing::GetInstance()->IsPaused()") |
Returns the scene renderer manager.
PLS_API VisManager& PLScene::SceneContext::GetVisManager | ( | ) |
Returns the visibility manager.
PLS_API bool PLScene::SceneContext::StartProcess | ( | ) |
Starts a scene process.
PLS_API bool PLScene::SceneContext::IsNodeTouched | ( | SceneNode & | cSceneNode | ) | const |
Checks whether a scene node was touched.
[in] | cSceneNode | Scene node to check |
PLS_API bool PLScene::SceneContext::TouchNode | ( | SceneNode & | cSceneNode | ) |
Touches a scene node.
[in] | cSceneNode | Scene node to touch |
PLS_API bool PLScene::SceneContext::EndProcess | ( | ) |
Ends a scene process.
Scene context update event
|