158 void loadPlugins(
const String& pluginsfile =
"plugins.cfg" );
162 void initialisePlugins();
166 void shutdownPlugins();
170 void unloadPlugins();
173 void oneTimePostWindowInit(
void);
213 Root(
const String& pluginFileName =
"plugins.cfg",
214 const String& configFileName =
"ogre.cfg",
215 const String& logFileName =
"Ogre.log");
223 void saveConfig(
void);
237 bool restoreConfig(
void);
255 bool showConfigDialog(
void);
324 RenderWindow* initialise(
bool autoCreateWindow,
const String& windowTitle =
"OGRE Render Window",
415 bool hasSceneManager(
const String& instanceName)
const;
446 String getErrorDescription(
long errorNumber);
480 void queueEndRendering(
void);
509 void startRendering(
void);
516 bool renderOneFrame(
void);
524 bool renderOneFrame(
Real timeSinceLastFrame);
581 void addResourceLocation(
const String& name,
const String& locType,
583 bool recursive =
false);
591 void removeResourceLocation(
const String& name,
657 RenderWindow* createRenderWindow(
const String &name,
unsigned int width,
unsigned int height,
685 void destroyRenderTarget(
const String &name);
701 void loadPlugin(
const String& pluginName);
712 void unloadPlugin(
const String& pluginName);
724 void installPlugin(
Plugin* plugin);
734 void uninstallPlugin(
Plugin* plugin);
740 Timer* getTimer(
void);
771 bool _fireFrameRenderingQueued(
FrameEvent& evt);
807 bool _fireFrameStarted();
818 bool _fireFrameRenderingQueued();
833 bool _fireFrameEnded();
872 bool _updateAllRenderTargets(
void);
885 bool _updateAllRenderTargets(
FrameEvent& evt);
905 void destroyRenderQueueInvocationSequence(
913 void destroyAllRenderQueueInvocationSequences(
void);
930 static Root& getSingleton(
void);
946 static Root* getSingletonPtr(
void);
956 void clearEventTimes(
void);
987 bool overrideExisting =
false);
997 bool hasMovableObjectFactory(
const String& typeName)
const;
1005 uint32 _allocateNextMovableObjectTypeFlag(
void);
1016 unsigned int getDisplayMonitorCount()
const;
Manages the target rendering window.
PluginLibList mPluginLibs
List of plugin DLLs loaded.
map< String, RenderQueueInvocationSequence * >::type RenderQueueInvocationSequenceMap
A 'canvas' which can receive the results of a rendering operation.
ParticleSystemManager * mParticleManager
float Real
Software floating point type.
MovableObjectFactory * mRibbonTrailFactory
The root class of the Ogre system.
set< FrameListener * >::type mRemovedFrameListeners
Set of frame listeners marked for removal.
MovableObjectFactory * mLightFactory
CompositorManager * mCompositorManager
bool mIsBlendIndicesGpuRedundant
Tells whether blend indices information needs to be passed to the GPU.
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
Singleton Class which handles the registering and control of texture plugins.
const PluginInstanceList & getInstalledPlugins() const
Gets a read-only list of the currently installed plugins.
Template class for creating single-instance global classes.
Class for loading & managing textures.
void setDefaultMinPixelSize(Real pixelSize)
Set the default minimum pixel size for object to be rendered by.
map< String, MovableObjectFactory * >::type MovableObjectFactoryMap
Class representing colour.
Real getFrameSmoothingPeriod(void) const
Gets the period over which OGRE smooths out fluctuations in frame times.
LodStrategyManager * mLodStrategyManager
deque< unsigned long >::type EventTimesQueue
Contains the times of recently fired events.
Manages the organisation and rendering of a 'scene' i.e.
OverlayElementFactory * mTextAreaFactory
Defines the interface which all components wishing to supply OverlayElement subclasses must implement...
vector< RenderSystem * >::type RenderSystemList
set< FrameListener * >::type mFrameListeners
Set of registered frame listeners.
vector< Plugin * >::type PluginInstanceList
RenderSystem * mActiveRenderer
ResourceBackgroundQueue * mResourceBackgroundQueue
void setBlendIndicesGpuRedundant(bool redundant)
Sets whether blend indices information needs to be passed to the GPU.
RenderSystemCapabilitiesManager * mRenderSystemCapabilitiesManager
Class for managing RenderSystemCapabilities database for Ogre.
This ResourceManager manages high-level vertex and fragment programs.
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.
Class to manage the available shadow textures which may be shared between many SceneManager instances...
HighLevelGpuProgramManager * mHighLevelGpuProgramManager
uint32 mNextMovableObjectTypeFlag
Manager for lod strategies.
Manager for Dynamic-loading Libraries.
RenderSystemList mRenderers
ExternalTextureSourceManager * mExternalTextureSourceManager
The log manager handles the creation and retrieval of logs for the application.
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
Class to hold a linear sequence of RenderQueueInvocation objects.
Class for managing Material settings for Ogre.
Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them...
vector< RenderWindow * >::type RenderWindowList
Render window container.
bool mFirstTimePostWindowInit
Manages Font resources, parsing .fontdef files and generally organising them.
OverlayElementFactory * mPanelFactory
The profiler allows you to measure the performance of your code.
MovableObjectFactory * mBillboardSetFactory
SkeletonManager * mSkeletonManager
ScriptCompilerManager * mCompilerManager
This class manages the available ArchiveFactory plugins.
DynLibManager * mDynLibManager
MovableObjectFactoryMap mMovableObjectFactoryMap
SceneManagerStack mSceneManagerStack
ConstMapIterator< MovableObjectFactoryMap > MovableObjectFactoryIterator
static OGRE_AUTO_MUTEX String DEFAULT_RESOURCE_GROUP_NAME
Default resource group name.
Class defining a generic OGRE plugin.
PluginInstanceList mPlugins
List of Plugin instances registered.
ResourceGroupManager * mResourceGroupManager
MovableObjectFactory * mManualObjectFactory
vector< DynLib * >::type PluginLibList
Concrete IteratorWrapper for const access to the underlying container.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
ArchiveFactory * mEmbeddedZipArchiveFactory
A interface class defining a listener which can be used to receive notifications of frame events...
RenderWindow * mAutoWindow
MaterialManager * mMaterialManager
Manages threaded compilation of scripts.
void setFrameSmoothingPeriod(Real period)
Sets the period over which OGRE smooths out fluctuations in frame times.
Real getDefaultMinPixelSize()
Get the default minimum pixel size for object to be rendered by.
ArchiveFactory * mZipArchiveFactory
void setBlendWeightsGpuRedundant(bool redundant)
Sets whether blend weights information needs to be passed to the GPU.
Handles the management of skeleton resources.
Manages particle systems, particle system scripts (templates) and the available emitter & affector fa...
ArchiveManager * mArchiveManager
Abstract factory class, archive codec plugins can register concrete subclasses of this...
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
RenderQueueInvocationSequenceMap mRQSequenceMap
FontManager * mFontManager
uint16 SceneTypeMask
Bitmask containing scene types.
Class for managing Compositor settings for Ogre.
ShadowTextureManager * mShadowTextureManager
MovableObjectFactory * mEntityFactory
void setRemoveRenderQueueStructuresOnClear(bool r)
Set whether the entire render queue structure should be emptied on clearing, or whether just the obje...
This class is used to perform Resource operations in a background thread.
This singleton class manages the list of resource groups, and notifying the various resource managers...
Concrete IteratorWrapper for const access to the underlying key-value container.
bool isBlendIndicesGpuRedundant() const
Returns whether blend indices information needs to be passed to the GPU see setBlendIndicesGpuRedunda...
Handles the management of mesh resources.
OverlayManager * mOverlayManager
ControllerManager * mControllerManager
Struct containing information about a frame event.
bool mIsBlendWeightsGpuRedundant
Tells whether blend weights information needs to be passed to the GPU.
bool getRemoveRenderQueueStructuresOnClear() const
Get whether the entire render queue structure should be emptied on clearing, or whether just the obje...
singleton class for storing the capabilities of the graphics card.
Enumerates the SceneManager classes available to applications.
deque< SceneManager * >::type SceneManagerStack
vector< RenderWindowDescription >::type RenderWindowDescriptionList
Render window creation parameters container.
MeshManager * mMeshManager
bool isInitialised(void) const
Returns whether the system is initialised or not.
ArchiveFactory * mFileSystemArchiveFactory
bool isBlendWeightsGpuRedundant() const
Returns whether blend weights information needs to be passed to the GPU see setBlendWeightsGpuRedunda...
Interface to a general purpose request / response style background work queue.
Defines the functionality of a 3D API.
WorkQueue * getWorkQueue() const
Get the WorkQueue for processing background tasks.
OverlayElementFactory * mBorderPanelFactory
unsigned long getNextFrameNumber(void) const
Gets the number of the next frame to be rendered.
Real mDefaultMinPixelSize
Class which will create instances of a given SceneManager.
bool mIsInitialised
Are we initialised yet?
SceneManagerEnumerator * mSceneManagerEnum
MovableObjectFactory * mBillboardChainFactory
FrameEventTimeType
Indicates the type of event to be considered by calculateEventTime().
bool mRemoveQueueStructuresOnClear
Class for managing Controller instances.