| 1234567891011121314151617181920212223242526272829303132 |
- #pragma once
- #include "BsEditorPrerequisites.h"
- #include "CmModule.h"
- namespace BansheeEditor
- {
- enum class RenderSystemPlugin
- {
- DX11,
- DX9,
- OpenGL
- };
- class EditorApplication : public CM::Module<EditorApplication>
- {
- public:
- EditorApplication(RenderSystemPlugin renderSystemPlugin);
- ~EditorApplication();
- void runMainLoop();
- bool isProjectLoaded() const;
- const CM::WString& getActiveProjectPath() const;
- private:
- RenderSystemPlugin mActiveRSPlugin;
- static const CM::String& getLibraryNameForRenderSystem(RenderSystemPlugin plugin);
- void update();
- };
- }
|