40 #ifndef _graphicsmanager_h
41 #define _graphicsmanager_h
44 #include "managerbase.h"
45 #include "managerfactory.h"
46 #include "singleton.h"
47 #include "Graphics/windowsettings.h"
48 #include "Graphics/graphicsenumerations.h"
49 #include "Graphics/gamewindow.h"
50 #include "objectsettings.h"
69 %
template(SingletonGraphicsManager) Singleton<GraphicsManager>;
72 class GraphicsManager;
100 virtual void UseThreads(
const Whole& AmountToUse);
104 virtual Whole UsingThreadCount();
177 void InitOgreRenderSystem();
179 virtual String GetObjectRootNodeName()
const;
181 virtual void AppendCurrentSettings(
XML::Node& SettingsRootNode);
215 Whole GetNumGameWindows()
const;
218 void DestroyGameWindow(
GameWindow* ToBeDestroyed);
221 void DestroyAllGameWindows(
bool ExcludePrimary =
true);
227 GameWindowIterator BeginGameWindow();
229 GameWindowIterator EndGameWindow();
231 ConstGameWindowIterator BeginGameWindow()
const;
233 ConstGameWindowIterator EndGameWindow()
const;
276 virtual void RenderOneFrame();
279 virtual void SwapAllBuffers(
bool WaitForVsync);
286 virtual void Initialize();
288 virtual void Deinitialize();
299 bool HasSDLBeenInitialized();
302 bool HasOgreBeenInitialized();
310 virtual String GetImplementationTypeName()
const;
327 String GetManagerTypeName()
const;