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

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15