OgreRoot.h
Go to the documentation of this file.
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2013 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-----------------------------------------------------------------------------
*/
#ifndef __ROOT__
#define __ROOT__
// Precompiler options
#include "OgrePrerequisites.h"
#include "OgreSingleton.h"
#include "OgreString.h"
#include "OgreSceneManagerEnumerator.h"
#include "OgreResourceGroupManager.h"
#include "OgreLodStrategyManager.h"
#include "OgreWorkQueue.h"
#if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
#include "Android/OgreAndroidLogListener.h"
#endif
#include <exception>
namespace Ogre
{
typedef vector<RenderSystem*>::type RenderSystemList;
class _OgreExport Root : public Singleton<Root>, public RootAlloc
{
// To allow update of active renderer if
// RenderSystem::initialise is used directly
friend class RenderSystem;
protected:
RenderSystemList mRenderers;
RenderSystem* mActiveRenderer;
String mVersion;
String mConfigFileName;
bool mQueuedEnd;
bool mFirstTimePostWindowInit;
// Singletons
LogManager* mLogManager;
ControllerManager* mControllerManager;
SceneManagerEnumerator* mSceneManagerEnum;
typedef deque<SceneManager*>::type SceneManagerStack;
SceneManagerStack mSceneManagerStack;
DynLibManager* mDynLibManager;
ArchiveManager* mArchiveManager;
MaterialManager* mMaterialManager;
MeshManager* mMeshManager;
ParticleSystemManager* mParticleManager;
SkeletonManager* mSkeletonManager;
ArchiveFactory *mZipArchiveFactory;
ArchiveFactory *mEmbeddedZipArchiveFactory;
ArchiveFactory *mFileSystemArchiveFactory;
#if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
AndroidLogListener* mAndroidLogger;
#endif
ResourceGroupManager* mResourceGroupManager;
ResourceBackgroundQueue* mResourceBackgroundQueue;
ShadowTextureManager* mShadowTextureManager;
RenderSystemCapabilitiesManager* mRenderSystemCapabilitiesManager;
ScriptCompilerManager *mCompilerManager;
LodStrategyManager *mLodStrategyManager;
PMWorker* mPMWorker;
PMInjector* mPMInjector;
Timer* mTimer;
RenderWindow* mAutoWindow;
Profiler* mProfiler;
HighLevelGpuProgramManager* mHighLevelGpuProgramManager;
ExternalTextureSourceManager* mExternalTextureSourceManager;
CompositorManager* mCompositorManager;
unsigned long mNextFrame;
Real mFrameSmoothingTime;
bool mRemoveQueueStructuresOnClear;
Real mDefaultMinPixelSize;
public:
typedef vector<DynLib*>::type PluginLibList;
typedef vector<Plugin*>::type PluginInstanceList;
protected:
PluginLibList mPluginLibs;
PluginInstanceList mPlugins;
typedef map<String, MovableObjectFactory*>::type MovableObjectFactoryMap;
MovableObjectFactoryMap mMovableObjectFactoryMap;
uint32 mNextMovableObjectTypeFlag;
// stock movable factories
MovableObjectFactory* mEntityFactory;
MovableObjectFactory* mLightFactory;
MovableObjectFactory* mBillboardSetFactory;
MovableObjectFactory* mManualObjectFactory;
MovableObjectFactory* mBillboardChainFactory;
MovableObjectFactory* mRibbonTrailFactory;
typedef map<String, RenderQueueInvocationSequence*>::type RenderQueueInvocationSequenceMap;
RenderQueueInvocationSequenceMap mRQSequenceMap;
bool mIsInitialised;
WorkQueue* mWorkQueue;
bool mIsBlendIndicesGpuRedundant;
bool mIsBlendWeightsGpuRedundant;
void loadPlugins(const String& pluginsfile = "plugins" OGRE_BUILD_SUFFIX ".cfg");
void initialisePlugins();
void shutdownPlugins();
void unloadPlugins();
void oneTimePostWindowInit(void);
set<FrameListener*>::type mFrameListeners;
set<FrameListener*>::type mRemovedFrameListeners;
set<FrameListener*>::type mAddedFrameListeners;
void _syncAddedRemovedFrameListeners();
enum FrameEventTimeType {
FETT_ANY = 0,
FETT_STARTED = 1,
FETT_QUEUED = 2,
FETT_ENDED = 3,
FETT_COUNT = 4
};
typedef deque<unsigned long>::type EventTimesQueue;
EventTimesQueue mEventTimes[FETT_COUNT];
Real calculateEventTime(unsigned long now, FrameEventTimeType type);
void populateFrameEvent(FrameEventTimeType type, FrameEvent& evtToUpdate);
public:
Root(const String& pluginFileName = "plugins" OGRE_BUILD_SUFFIX ".cfg",
const String& configFileName = "ogre.cfg",
const String& logFileName = "Ogre.log");
~Root();
void saveConfig(void);
bool restoreConfig(void);
bool showConfigDialog(void);
void addRenderSystem(RenderSystem* newRend);
const RenderSystemList& getAvailableRenderers(void);
RenderSystem* getRenderSystemByName(const String& name);
void setRenderSystem(RenderSystem* system);
RenderSystem* getRenderSystem(void);
RenderWindow* initialise(bool autoCreateWindow, const String& windowTitle = "OGRE Render Window",
const String& customCapabilitiesConfig = StringUtil::BLANK);
bool isInitialised(void) const { return mIsInitialised; }
void useCustomRenderSystemCapabilities(RenderSystemCapabilities* capabilities);
bool getRemoveRenderQueueStructuresOnClear() const { return mRemoveQueueStructuresOnClear; }
void setRemoveRenderQueueStructuresOnClear(bool r) { mRemoveQueueStructuresOnClear = r; }
void addSceneManagerFactory(SceneManagerFactory* fact);
void removeSceneManagerFactory(SceneManagerFactory* fact);
const SceneManagerMetaData* getSceneManagerMetaData(const String& typeName) const;
SceneManagerEnumerator::MetaDataIterator getSceneManagerMetaDataIterator(void) const;
SceneManager* createSceneManager(const String& typeName,
const String& instanceName = StringUtil::BLANK);
SceneManager* createSceneManager(SceneTypeMask typeMask,
const String& instanceName = StringUtil::BLANK);
void destroySceneManager(SceneManager* sm);
SceneManager* getSceneManager(const String& instanceName) const;
bool hasSceneManager(const String& instanceName) const;
SceneManagerEnumerator::SceneManagerIterator getSceneManagerIterator(void);
TextureManager* getTextureManager(void);
MeshManager* getMeshManager(void);
String getErrorDescription(long errorNumber);
void addFrameListener(FrameListener* newListener);
void removeFrameListener(FrameListener* oldListener);
void queueEndRendering(bool state = true);
bool endRenderingQueued(void);
void startRendering(void);
bool renderOneFrame(void);
bool renderOneFrame(Real timeSinceLastFrame);
void shutdown(void);
void addResourceLocation(const String& name, const String& locType,
const String& groupName = ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME,
bool recursive = false);
void removeResourceLocation(const String& name,
const String& groupName = ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME);
DataStreamPtr createFileStream(const String& filename, const String& groupName = ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME,
bool overwrite = false, const String& locationPattern = StringUtil::BLANK);
DataStreamPtr openFileStream(const String& filename, const String& groupName = ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME,
const String& locationPattern = StringUtil::BLANK);
void convertColourValue(const ColourValue& colour, uint32* pDest);
RenderWindow* getAutoCreatedWindow(void);
RenderWindow* createRenderWindow(const String &name, unsigned int width, unsigned int height,
bool fullScreen, const NameValuePairList *miscParams = 0) ;
bool createRenderWindows(const RenderWindowDescriptionList& renderWindowDescriptions,
RenderWindowList& createdWindows);
RenderTarget* detachRenderTarget( RenderTarget* pWin );
RenderTarget* detachRenderTarget( const String & name );
void destroyRenderTarget(RenderTarget* target);
void destroyRenderTarget(const String &name);
RenderTarget * getRenderTarget(const String &name);
void loadPlugin(const String& pluginName);
void unloadPlugin(const String& pluginName);
void installPlugin(Plugin* plugin);
void uninstallPlugin(Plugin* plugin);
const PluginInstanceList& getInstalledPlugins() const { return mPlugins; }
Timer* getTimer(void);
bool _fireFrameStarted(FrameEvent& evt);
bool _fireFrameRenderingQueued(FrameEvent& evt);
bool _fireFrameEnded(FrameEvent& evt);
bool _fireFrameStarted();
bool _fireFrameRenderingQueued();
bool _fireFrameEnded();
unsigned long getNextFrameNumber(void) const { return mNextFrame; }
SceneManager* _getCurrentSceneManager(void) const;
void _pushCurrentSceneManager(SceneManager* sm);
void _popCurrentSceneManager(SceneManager* sm);
bool _updateAllRenderTargets(void);
bool _updateAllRenderTargets(FrameEvent& evt);
RenderQueueInvocationSequence* createRenderQueueInvocationSequence(
const String& name);
RenderQueueInvocationSequence* getRenderQueueInvocationSequence(
const String& name);
void destroyRenderQueueInvocationSequence(
const String& name);
void destroyAllRenderQueueInvocationSequences(void);
static Root& getSingleton(void);
static Root* getSingletonPtr(void);
void clearEventTimes(void);
void setFrameSmoothingPeriod(Real period) { mFrameSmoothingTime = period; }
Real getFrameSmoothingPeriod(void) const { return mFrameSmoothingTime; }
void addMovableObjectFactory(MovableObjectFactory* fact,
bool overrideExisting = false);
void removeMovableObjectFactory(MovableObjectFactory* fact);
bool hasMovableObjectFactory(const String& typeName) const;
MovableObjectFactory* getMovableObjectFactory(const String& typeName);
uint32 _allocateNextMovableObjectTypeFlag(void);
typedef ConstMapIterator<MovableObjectFactoryMap> MovableObjectFactoryIterator;
MovableObjectFactoryIterator getMovableObjectFactoryIterator(void) const;
unsigned int getDisplayMonitorCount() const;
WorkQueue* getWorkQueue() const { return mWorkQueue; }
void setWorkQueue(WorkQueue* queue);
void setBlendIndicesGpuRedundant(bool redundant) { mIsBlendIndicesGpuRedundant = redundant; }
bool isBlendIndicesGpuRedundant() const { return mIsBlendIndicesGpuRedundant; }
void setBlendWeightsGpuRedundant(bool redundant) { mIsBlendWeightsGpuRedundant = redundant; }
bool isBlendWeightsGpuRedundant() const { return mIsBlendWeightsGpuRedundant; }
void setDefaultMinPixelSize(Real pixelSize) { mDefaultMinPixelSize = pixelSize; }
Real getDefaultMinPixelSize() { return mDefaultMinPixelSize; }
};
} // Namespace Ogre
#endif
OgreWorkQueue.h
Ogre::RenderTarget
A &#39;canvas&#39; which can receive the results of a rendering operation.
Definition: OgreRenderTarget.h:65
Ogre::Root::mActiveRenderer
RenderSystem * mActiveRenderer
Definition: OgreRoot.h:78
Ogre::Root::mMeshManager
MeshManager * mMeshManager
Definition: OgreRoot.h:94
Ogre::Root::mLogManager
LogManager * mLogManager
Definition: OgreRoot.h:86
Ogre::RenderSystemList
vector< RenderSystem * >::type RenderSystemList
Definition: OgreRoot.h:56
Ogre::Root::mManualObjectFactory
MovableObjectFactory * mManualObjectFactory
Definition: OgreRoot.h:142
Ogre::Root::mWorkQueue
WorkQueue * mWorkQueue
Definition: OgreRoot.h:152
Ogre::Root::MovableObjectFactoryIterator
ConstMapIterator< MovableObjectFactoryMap > MovableObjectFactoryIterator
Definition: OgreRoot.h:1025
Ogre::Root::mRemovedFrameListeners
set< FrameListener * >::type mRemovedFrameListeners
Set of frame listeners marked for removal and addition.
Definition: OgreRoot.h:187
Ogre::Root::mSceneManagerStack
SceneManagerStack mSceneManagerStack
Definition: OgreRoot.h:90
Ogre::TextureManager
Class for loading & managing textures.
Definition: OgreTextureManager.h:60
Ogre::Root::PluginLibList
vector< DynLib * >::type PluginLibList
Definition: OgreRoot.h:127
Ogre::Root::setRemoveRenderQueueStructuresOnClear
void setRemoveRenderQueueStructuresOnClear(bool r)
Set whether the entire render queue structure should be emptied on clearing, or whether just the obje...
Definition: OgreRoot.h:356
Ogre::Root::mSkeletonManager
SkeletonManager * mSkeletonManager
Definition: OgreRoot.h:96
Ogre::RenderSystemCapabilitiesManager
Class for managing RenderSystemCapabilities database for Ogre.
Definition: OgreRenderSystemCapabilitiesManager.h:52
_OgreExport
#define _OgreExport
Definition: OgrePlatform.h:257
Ogre::Root::mProfiler
Profiler * mProfiler
Definition: OgreRoot.h:117
Ogre::set::type
std::set< T, P, A > type
Definition: OgrePrerequisites.h:522
Ogre::ExternalTextureSourceManager
Singleton Class which handles the registering and control of texture plugins.
Definition: OgreExternalTextureSourceManager.h:56
Ogre::LodStrategyManager
Manager for LOD strategies.
Definition: OgreLodStrategyManager.h:47
Ogre::Root::mHighLevelGpuProgramManager
HighLevelGpuProgramManager * mHighLevelGpuProgramManager
Definition: OgreRoot.h:118
Ogre::WorkQueue
Interface to a general purpose request / response style background work queue.
Definition: OgreWorkQueue.h:70
Ogre::Root::mFileSystemArchiveFactory
ArchiveFactory * mFileSystemArchiveFactory
Definition: OgreRoot.h:100
Ogre::Root::mCompilerManager
ScriptCompilerManager * mCompilerManager
Definition: OgreRoot.h:110
Ogre::PMInjector
Injects the output of a request to the mesh in a thread safe way.
Definition: OgreQueuedProgressiveMeshGenerator.h:143
Ogre::Root::PluginInstanceList
vector< Plugin * >::type PluginInstanceList
Definition: OgreRoot.h:128
Ogre::Root::mSceneManagerEnum
SceneManagerEnumerator * mSceneManagerEnum
Definition: OgreRoot.h:88
Ogre::MapIterator
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
Definition: OgreIteratorWrapper.h:319
Ogre::Root::mAddedFrameListeners
set< FrameListener * >::type mAddedFrameListeners
Definition: OgreRoot.h:188
OGRE_BUILD_SUFFIX
#define OGRE_BUILD_SUFFIX
Definition: OgrePlatform.h:355
Ogre::ConstMapIterator
Concrete IteratorWrapper for const access to the underlying key-value container.
Definition: OgreIteratorWrapper.h:352
Ogre::SceneManagerFactory
Class which will create instances of a given SceneManager.
Definition: OgreSceneManager.h:3637
Ogre::Root::mFrameSmoothingTime
Real mFrameSmoothingTime
Definition: OgreRoot.h:122
Ogre::SkeletonManager
Handles the management of skeleton resources.
Definition: OgreSkeletonManager.h:51
Ogre::Root::mPluginLibs
PluginLibList mPluginLibs
List of plugin DLLs loaded.
Definition: OgreRoot.h:131
Ogre::ColourValue
Class representing colour.
Definition: OgreColourValue.h:57
Ogre::Real
float Real
Software floating point type.
Definition: OgrePrerequisites.h:70
Ogre::Root::mPMInjector
PMInjector * mPMInjector
Definition: OgreRoot.h:113
OgreString.h
Ogre::RenderWindowDescriptionList
vector< RenderWindowDescription >::type RenderWindowDescriptionList
Render window creation parameters container.
Definition: OgreCommon.h:761
Ogre::Root::isInitialised
bool isInitialised(void) const
Returns whether the system is initialised or not.
Definition: OgreRoot.h:339
Ogre::PMWorker
Processes requests.
Definition: OgreQueuedProgressiveMeshGenerator.h:73
Ogre::Root::mMaterialManager
MaterialManager * mMaterialManager
Definition: OgreRoot.h:93
Ogre::Root::mRenderers
RenderSystemList mRenderers
Definition: OgreRoot.h:77
Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME
static String DEFAULT_RESOURCE_GROUP_NAME
Default resource group name.
Definition: OgreResourceGroupManager.h:266
Ogre::Root::mNextFrame
unsigned long mNextFrame
Definition: OgreRoot.h:121
Ogre::Timer
Timer class.
Definition: Android/OgreTimerImp.h:37
Ogre::MaterialManager
Class for managing Material settings for Ogre.
Definition: OgreMaterialManager.h:64
Ogre::Root::mDefaultMinPixelSize
Real mDefaultMinPixelSize
Definition: OgreRoot.h:124
Ogre::Root::mQueuedEnd
bool mQueuedEnd
Definition: OgreRoot.h:81
Ogre::Root::mIsBlendWeightsGpuRedundant
bool mIsBlendWeightsGpuRedundant
Tells whether blend weights information needs to be passed to the GPU.
Definition: OgreRoot.h:157
Ogre::RenderWindowList
vector< RenderWindow * >::type RenderWindowList
Render window container.
Definition: OgreCommon.h:764
Ogre::Root::mPlugins
PluginInstanceList mPlugins
List of Plugin instances registered.
Definition: OgreRoot.h:133
OgreLodStrategyManager.h
Ogre::SceneTypeMask
uint16 SceneTypeMask
Bitmask containing scene types.
Definition: OgreSceneManager.h:3607
Ogre::Root::FrameEventTimeType
FrameEventTimeType
Indicates the type of event to be considered by calculateEventTime().
Definition: OgreRoot.h:192
Ogre::Root::getFrameSmoothingPeriod
Real getFrameSmoothingPeriod(void) const
Gets the period over which OGRE smooths out fluctuations in frame times.
Definition: OgreRoot.h:990
Ogre::RenderQueueInvocationSequence
Class to hold a linear sequence of RenderQueueInvocation objects.
Definition: OgreRenderQueueInvocation.h:173
Ogre::Root::mLightFactory
MovableObjectFactory * mLightFactory
Definition: OgreRoot.h:140
Ogre::Root::mVersion
String mVersion
Definition: OgreRoot.h:79
OgreSingleton.h
Ogre::Profiler
The profiler allows you to measure the performance of your code.
Definition: OgreProfiler.h:280
Ogre::CompositorManager
Class for managing Compositor settings for Ogre.
Definition: OgreCompositorManager.h:59
Ogre::Root::mIsInitialised
bool mIsInitialised
Are we initialised yet?
Definition: OgreRoot.h:150
OgrePrerequisites.h
Ogre::Root::mIsBlendIndicesGpuRedundant
bool mIsBlendIndicesGpuRedundant
Tells whether blend indices information needs to be passed to the GPU.
Definition: OgreRoot.h:155
Ogre::ControllerManager
Class for managing Controller instances.
Definition: OgreControllerManager.h:58
Ogre::deque
Definition: OgrePrerequisites.h:477
Ogre::Root::mPMWorker
PMWorker * mPMWorker
Definition: OgreRoot.h:112
Ogre::Root::mEntityFactory
MovableObjectFactory * mEntityFactory
Definition: OgreRoot.h:139
Ogre::Root::mShadowTextureManager
ShadowTextureManager * mShadowTextureManager
Definition: OgreRoot.h:108
Ogre::Root::mRibbonTrailFactory
MovableObjectFactory * mRibbonTrailFactory
Definition: OgreRoot.h:144
Ogre::RenderSystem
Defines the functionality of a 3D API.
Definition: OgreRenderSystem.h:125
Ogre::Root::setBlendIndicesGpuRedundant
void setBlendIndicesGpuRedundant(bool redundant)
Sets whether blend indices information needs to be passed to the GPU.
Definition: OgreRoot.h:1060
Ogre::FrameEvent
Struct containing information about a frame event.
Definition: OgreFrameListener.h:44
Ogre::Root::setBlendWeightsGpuRedundant
void setBlendWeightsGpuRedundant(bool redundant)
Sets whether blend weights information needs to be passed to the GPU.
Definition: OgreRoot.h:1072
Ogre::SceneManagerEnumerator
Enumerates the SceneManager classes available to applications.
Definition: OgreSceneManagerEnumerator.h:88
Ogre::NameValuePairList
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
Definition: OgreCommon.h:550
Ogre::Root::mParticleManager
ParticleSystemManager * mParticleManager
Definition: OgreRoot.h:95
Ogre::Root::getDefaultMinPixelSize
Real getDefaultMinPixelSize()
Get the default minimum pixel size for object to be rendered by.
Definition: OgreRoot.h:1086
Ogre::Root::mEmbeddedZipArchiveFactory
ArchiveFactory * mEmbeddedZipArchiveFactory
Definition: OgreRoot.h:99
Ogre::Root::mBillboardSetFactory
MovableObjectFactory * mBillboardSetFactory
Definition: OgreRoot.h:141
Ogre::Root::mRenderSystemCapabilitiesManager
RenderSystemCapabilitiesManager * mRenderSystemCapabilitiesManager
Definition: OgreRoot.h:109
OgreSceneManagerEnumerator.h
Ogre::String
_StringBase String
Definition: OgrePrerequisites.h:439
Ogre::SceneManagerMetaData
Structure containing information about a scene manager.
Definition: OgreSceneManager.h:3622
Ogre::Root::mCompositorManager
CompositorManager * mCompositorManager
Definition: OgreRoot.h:120
Ogre::Plugin
Class defining a generic OGRE plugin.
Definition: OgrePlugin.h:79
Ogre::Root::mFrameListeners
set< FrameListener * >::type mFrameListeners
Set of registered frame listeners.
Definition: OgreRoot.h:184
Ogre::Root::RenderQueueInvocationSequenceMap
map< String, RenderQueueInvocationSequence * >::type RenderQueueInvocationSequenceMap
Definition: OgreRoot.h:146
Ogre::ResourceBackgroundQueue
This class is used to perform Resource operations in a background thread.
Definition: OgreResourceBackgroundQueue.h:81
Ogre::Root::mArchiveManager
ArchiveManager * mArchiveManager
Definition: OgreRoot.h:92
Ogre::Root::setDefaultMinPixelSize
void setDefaultMinPixelSize(Real pixelSize)
Set the default minimum pixel size for object to be rendered by.
Definition: OgreRoot.h:1082
Ogre::DynLibManager
Manager for Dynamic-loading Libraries.
Definition: OgreDynLibManager.h:48
Ogre::ShadowTextureManager
Class to manage the available shadow textures which may be shared between many SceneManager instances...
Definition: OgreShadowTextureManager.h:81
Ogre::RenderSystemCapabilities
singleton class for storing the capabilities of the graphics card.
Definition: OgreRenderSystemCapabilities.h:279
Ogre::AndroidLogListener
Definition: OgreAndroidLogListener.h:37
Ogre::Root::mResourceBackgroundQueue
ResourceBackgroundQueue * mResourceBackgroundQueue
Definition: OgreRoot.h:107
Ogre::ScriptCompilerManager
Manages threaded compilation of scripts.
Definition: OgreScriptCompiler.h:384
Ogre::Root::mAutoWindow
RenderWindow * mAutoWindow
Definition: OgreRoot.h:116
Ogre::ArchiveFactory
Abstract factory class, archive codec plugins can register concrete subclasses of this...
Definition: OgreArchiveFactory.h:59
Ogre::Root::isBlendIndicesGpuRedundant
bool isBlendIndicesGpuRedundant() const
Returns whether blend indices information needs to be passed to the GPU see setBlendIndicesGpuRedunda...
Definition: OgreRoot.h:1064
Ogre::MeshManager
Handles the management of mesh resources.
Definition: OgreMeshManager.h:58
Ogre::ArchiveManager
This class manages the available ArchiveFactory plugins.
Definition: OgreArchiveManager.h:47
Ogre::Root::mRQSequenceMap
RenderQueueInvocationSequenceMap mRQSequenceMap
Definition: OgreRoot.h:147
Ogre::uint32
unsigned int uint32
Definition: OgrePlatform.h:359
Ogre::Root::mResourceGroupManager
ResourceGroupManager * mResourceGroupManager
Definition: OgreRoot.h:106
Ogre::HighLevelGpuProgramManager
This ResourceManager manages high-level vertex and fragment programs.
Definition: OgreHighLevelGpuProgramManager.h:72
Ogre::LogManager
The log manager handles the creation and retrieval of logs for the application.
Definition: OgreLogManager.h:65
Ogre
Definition: OgreAndroidLogListener.h:34
Ogre::Root::mDynLibManager
DynLibManager * mDynLibManager
Definition: OgreRoot.h:91
Ogre::RenderWindow
Manages the target rendering window.
Definition: OgreRenderWindow.h:62
Ogre::ResourceGroupManager
This singleton class manages the list of resource groups, and notifying the various resource managers...
Definition: OgreResourceGroupManager.h:261
Ogre::Root::getInstalledPlugins
const PluginInstanceList & getInstalledPlugins() const
Gets a read-only list of the currently installed plugins.
Definition: OgreRoot.h:756
Ogre::Root::mMovableObjectFactoryMap
MovableObjectFactoryMap mMovableObjectFactoryMap
Definition: OgreRoot.h:136
Ogre::Root::SceneManagerStack
deque< SceneManager * >::type SceneManagerStack
Definition: OgreRoot.h:89
Ogre::Root::getWorkQueue
WorkQueue * getWorkQueue() const
Get the WorkQueue for processing background tasks.
Definition: OgreRoot.h:1042
Ogre::SharedPtr< DataStream >
Ogre::Root::mFirstTimePostWindowInit
bool mFirstTimePostWindowInit
In case multiple render windows are created, only once are the resources loaded.
Definition: OgreRoot.h:83
Ogre::ConstVectorIterator
Concrete IteratorWrapper for const access to the underlying container.
Definition: OgreIteratorWrapper.h:217
Ogre::vector
Definition: OgrePrerequisites.h:491
Ogre::Root::mBillboardChainFactory
MovableObjectFactory * mBillboardChainFactory
Definition: OgreRoot.h:143
Ogre::Root::mTimer
Timer * mTimer
Definition: OgreRoot.h:115
Ogre::Root::getNextFrameNumber
unsigned long getNextFrameNumber(void) const
Gets the number of the next frame to be rendered.
Definition: OgreRoot.h:862
Ogre::Root::mRemoveQueueStructuresOnClear
bool mRemoveQueueStructuresOnClear
Definition: OgreRoot.h:123
Ogre::Root::mConfigFileName
String mConfigFileName
Definition: OgreRoot.h:80
Ogre::Root::mNextMovableObjectTypeFlag
uint32 mNextMovableObjectTypeFlag
Definition: OgreRoot.h:137
Ogre::Singleton
Template class for creating single-instance global classes.
Definition: OgreSingleton.h:64
OgreResourceGroupManager.h
Ogre::Root::isBlendWeightsGpuRedundant
bool isBlendWeightsGpuRedundant() const
Returns whether blend weights information needs to be passed to the GPU see setBlendWeightsGpuRedunda...
Definition: OgreRoot.h:1076
Ogre::map
Definition: OgrePrerequisites.h:533
Ogre::MovableObjectFactory
Interface definition for a factory class which produces a certain kind of MovableObject, and can be registered with Root in order to allow all clients to produce new instances of this object, integrated with the standard Ogre processing.
Definition: OgreMovableObject.h:578
Ogre::Root::mLodStrategyManager
LodStrategyManager * mLodStrategyManager
Definition: OgreRoot.h:111
Ogre::Root::mExternalTextureSourceManager
ExternalTextureSourceManager * mExternalTextureSourceManager
Definition: OgreRoot.h:119
Ogre::Root::MovableObjectFactoryMap
map< String, MovableObjectFactory * >::type MovableObjectFactoryMap
Definition: OgreRoot.h:135
Ogre::SceneManager
Manages the organisation and rendering of a &#39;scene&#39; i.e.
Definition: OgreSceneManager.h:143
OgreAndroidLogListener.h
Ogre::Root::mZipArchiveFactory
ArchiveFactory * mZipArchiveFactory
Definition: OgreRoot.h:98
Ogre::ParticleSystemManager
Manages particle systems, particle system scripts (templates) and the available emitter & affector fa...
Definition: OgreParticleSystemManager.h:77
Ogre::Root
The root class of the Ogre system.
Definition: OgreRoot.h:71
Ogre::StringUtil::BLANK
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
Definition: OgreString.h:196
Ogre::Root::EventTimesQueue
deque< unsigned long >::type EventTimesQueue
Contains the times of recently fired events.
Definition: OgreRoot.h:201
Ogre::FrameListener
A interface class defining a listener which can be used to receive notifications of frame events...
Definition: OgreFrameListener.h:79
Ogre::AllocatedObject
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
Definition: OgreMemoryAllocatedObject.h:58
Ogre::Root::mControllerManager
ControllerManager * mControllerManager
Definition: OgreRoot.h:87
Ogre::Root::getRemoveRenderQueueStructuresOnClear
bool getRemoveRenderQueueStructuresOnClear() const
Get whether the entire render queue structure should be emptied on clearing, or whether just the obje...
Definition: OgreRoot.h:351
Ogre::Root::setFrameSmoothingPeriod
void setFrameSmoothingPeriod(Real period)
Sets the period over which OGRE smooths out fluctuations in frame times.
Definition: OgreRoot.h:988

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.