41 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
102 #if OGRE_PLATFORM == OGRE_PLATFORM_ANDROID
170 void initialisePlugins();
174 void shutdownPlugins();
178 void unloadPlugins();
181 void oneTimePostWindowInit(
void);
189 void _syncAddedRemovedFrameListeners();
225 const String& configFileName =
"ogre.cfg",
226 const String& logFileName =
"Ogre.log");
234 void saveConfig(
void);
248 bool restoreConfig(
void);
266 bool showConfigDialog(
void);
335 RenderWindow* initialise(
bool autoCreateWindow,
const String& windowTitle =
"OGRE Render Window",
426 bool hasSceneManager(
const String& instanceName)
const;
457 String getErrorDescription(
long errorNumber);
491 void queueEndRendering(
bool state =
true);
499 bool endRenderingQueued(
void);
528 void startRendering(
void);
535 bool renderOneFrame(
void);
543 bool renderOneFrame(
Real timeSinceLastFrame);
600 void addResourceLocation(
const String& name,
const String& locType,
602 bool recursive =
false);
610 void removeResourceLocation(
const String& name,
676 RenderWindow* createRenderWindow(
const String &name,
unsigned int width,
unsigned int height,
704 void destroyRenderTarget(
const String &name);
720 void loadPlugin(
const String& pluginName);
731 void unloadPlugin(
const String& pluginName);
743 void installPlugin(
Plugin* plugin);
753 void uninstallPlugin(
Plugin* plugin);
759 Timer* getTimer(
void);
790 bool _fireFrameRenderingQueued(
FrameEvent& evt);
826 bool _fireFrameStarted();
837 bool _fireFrameRenderingQueued();
852 bool _fireFrameEnded();
891 bool _updateAllRenderTargets(
void);
904 bool _updateAllRenderTargets(
FrameEvent& evt);
924 void destroyRenderQueueInvocationSequence(
931 void destroyAllRenderQueueInvocationSequences(
void);
948 static Root& getSingleton(
void);
964 static Root* getSingletonPtr(
void);
974 void clearEventTimes(
void);
1005 bool overrideExisting =
false);
1015 bool hasMovableObjectFactory(
const String& typeName)
const;
1023 uint32 _allocateNextMovableObjectTypeFlag(
void);
1034 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 and addition.
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.
Injects the output of a request to the mesh in a thread safe way.
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.
vector< RenderSystem * >::type RenderSystemList
static String DEFAULT_RESOURCE_GROUP_NAME
Default resource group name.
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.
vector< RenderWindow * >::type RenderWindowList
Render window container.
bool mFirstTimePostWindowInit
In case multiple render windows are created, only once are the resources loaded.
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
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
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.
set< FrameListener * >::type mAddedFrameListeners
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.
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.
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.