void SpacePartitionRenderer::uninstallRenderer()
{
	_renderableSP.setRenderSystem(RenderSystemPtr());
	_renderableSP.setSpacePartition(scene::ISpacePartitionSystemPtr());

	GlobalRenderSystem().detachRenderable(_renderableSP);
}
 RenderSystemPtr const RenderSystem::create() {
     if (!sSystem) {
         sSystem = RenderSystemPtr(new RenderSystem());
     }
     return sSystem;
 }
Пример #3
0
	//---------------------------------------------------------------------
	void D3D9Plugin::uninstall()
	{
 		EngineManager & engineMgr = EngineManager::getSingleton();
 		engineMgr.setRenderSystem(RenderSystemPtr());
	}