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();
202 EventTimesQueue mEventTimes[FETT_COUNT];
225 const String& configFileName =
"ogre.cfg",
226 const String& logFileName =
"Ogre.log");
234 void saveConfig(
void);
248 bool restoreConfig(
void);
266 bool showConfigDialog(
void);
287 const RenderSystemList& getAvailableRenderers(
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);
1029 MovableObjectFactoryIterator getMovableObjectFactoryIterator(
void)
const;
1034 unsigned int getDisplayMonitorCount()
const;
A 'canvas' which can receive the results of a rendering operation.
RenderSystem * mActiveRenderer
MeshManager * mMeshManager
vector< RenderSystem * >::type RenderSystemList
MovableObjectFactory * mManualObjectFactory
ConstMapIterator< MovableObjectFactoryMap > MovableObjectFactoryIterator
set< FrameListener * >::type mRemovedFrameListeners
Set of frame listeners marked for removal and addition.
SceneManagerStack mSceneManagerStack
Class for loading & managing textures.
vector< DynLib * >::type PluginLibList
void setRemoveRenderQueueStructuresOnClear(bool r)
Set whether the entire render queue structure should be emptied on clearing, or whether just the obje...
SkeletonManager * mSkeletonManager
Class for managing RenderSystemCapabilities database for Ogre.
Singleton Class which handles the registering and control of texture plugins.
Manager for LOD strategies.
HighLevelGpuProgramManager * mHighLevelGpuProgramManager
Interface to a general purpose request / response style background work queue.
ArchiveFactory * mFileSystemArchiveFactory
ScriptCompilerManager * mCompilerManager
Injects the output of a request to the mesh in a thread safe way.
vector< Plugin * >::type PluginInstanceList
SceneManagerEnumerator * mSceneManagerEnum
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
set< FrameListener * >::type mAddedFrameListeners
Concrete IteratorWrapper for const access to the underlying key-value container.
Class which will create instances of a given SceneManager.
Handles the management of skeleton resources.
PluginLibList mPluginLibs
List of plugin DLLs loaded.
Class representing colour.
float Real
Software floating point type.
vector< RenderWindowDescription >::type RenderWindowDescriptionList
Render window creation parameters container.
bool isInitialised(void) const
Returns whether the system is initialised or not.
MaterialManager * mMaterialManager
RenderSystemList mRenderers
static String DEFAULT_RESOURCE_GROUP_NAME
Default resource group name.
Class for managing Material settings for Ogre.
Real mDefaultMinPixelSize
bool mIsBlendWeightsGpuRedundant
Tells whether blend weights information needs to be passed to the GPU.
vector< RenderWindow * >::type RenderWindowList
Render window container.
PluginInstanceList mPlugins
List of Plugin instances registered.
uint16 SceneTypeMask
Bitmask containing scene types.
FrameEventTimeType
Indicates the type of event to be considered by calculateEventTime().
Real getFrameSmoothingPeriod(void) const
Gets the period over which OGRE smooths out fluctuations in frame times.
Class to hold a linear sequence of RenderQueueInvocation objects.
MovableObjectFactory * mLightFactory
The profiler allows you to measure the performance of your code.
Class for managing Compositor settings for Ogre.
bool mIsInitialised
Are we initialised yet?
bool mIsBlendIndicesGpuRedundant
Tells whether blend indices information needs to be passed to the GPU.
Class for managing Controller instances.
MovableObjectFactory * mEntityFactory
ShadowTextureManager * mShadowTextureManager
MovableObjectFactory * mRibbonTrailFactory
Defines the functionality of a 3D API.
void setBlendIndicesGpuRedundant(bool redundant)
Sets whether blend indices information needs to be passed to the GPU.
Struct containing information about a frame event.
void setBlendWeightsGpuRedundant(bool redundant)
Sets whether blend weights information needs to be passed to the GPU.
Enumerates the SceneManager classes available to applications.
map< String, String >::type NameValuePairList
Name / value parameter pair (first = name, second = value)
ParticleSystemManager * mParticleManager
Real getDefaultMinPixelSize()
Get the default minimum pixel size for object to be rendered by.
ArchiveFactory * mEmbeddedZipArchiveFactory
MovableObjectFactory * mBillboardSetFactory
RenderSystemCapabilitiesManager * mRenderSystemCapabilitiesManager
CompositorManager * mCompositorManager
Class defining a generic OGRE plugin.
set< FrameListener * >::type mFrameListeners
Set of registered frame listeners.
map< String, RenderQueueInvocationSequence * >::type RenderQueueInvocationSequenceMap
This class is used to perform Resource operations in a background thread.
ArchiveManager * mArchiveManager
void setDefaultMinPixelSize(Real pixelSize)
Set the default minimum pixel size for object to be rendered by.
Manager for Dynamic-loading Libraries.
Class to manage the available shadow textures which may be shared between many SceneManager instances...
singleton class for storing the capabilities of the graphics card.
ResourceBackgroundQueue * mResourceBackgroundQueue
Manages threaded compilation of scripts.
RenderWindow * mAutoWindow
Abstract factory class, archive codec plugins can register concrete subclasses of this...
bool isBlendIndicesGpuRedundant() const
Returns whether blend indices information needs to be passed to the GPU see setBlendIndicesGpuRedunda...
Handles the management of mesh resources.
This class manages the available ArchiveFactory plugins.
RenderQueueInvocationSequenceMap mRQSequenceMap
ResourceGroupManager * mResourceGroupManager
This ResourceManager manages high-level vertex and fragment programs.
The log manager handles the creation and retrieval of logs for the application.
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
DynLibManager * mDynLibManager
Manages the target rendering window.
This singleton class manages the list of resource groups, and notifying the various resource managers...
const PluginInstanceList & getInstalledPlugins() const
Gets a read-only list of the currently installed plugins.
MovableObjectFactoryMap mMovableObjectFactoryMap
deque< SceneManager * >::type SceneManagerStack
WorkQueue * getWorkQueue() const
Get the WorkQueue for processing background tasks.
bool mFirstTimePostWindowInit
In case multiple render windows are created, only once are the resources loaded.
Concrete IteratorWrapper for const access to the underlying container.
MovableObjectFactory * mBillboardChainFactory
unsigned long getNextFrameNumber(void) const
Gets the number of the next frame to be rendered.
bool mRemoveQueueStructuresOnClear
uint32 mNextMovableObjectTypeFlag
Template class for creating single-instance global classes.
bool isBlendWeightsGpuRedundant() const
Returns whether blend weights information needs to be passed to the GPU see setBlendWeightsGpuRedunda...
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.
LodStrategyManager * mLodStrategyManager
ExternalTextureSourceManager * mExternalTextureSourceManager
map< String, MovableObjectFactory * >::type MovableObjectFactoryMap
Manages the organisation and rendering of a 'scene' i.e.
ArchiveFactory * mZipArchiveFactory
Manages particle systems, particle system scripts (templates) and the available emitter & affector fa...
The root class of the Ogre system.
static const String BLANK
Constant blank string, useful for returning by ref where local does not exist.
deque< unsigned long >::type EventTimesQueue
Contains the times of recently fired events.
A interface class defining a listener which can be used to receive notifications of frame events...
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
ControllerManager * mControllerManager
bool getRemoveRenderQueueStructuresOnClear() const
Get whether the entire render queue structure should be emptied on clearing, or whether just the obje...
void setFrameSmoothingPeriod(Real period)
Sets the period over which OGRE smooths out fluctuations in frame times.