CmApplication.h 428 B

12345678910111213141516171819202122232425262728293031
  1. #pragma once
  2. #include <memory>
  3. namespace Ogre
  4. {
  5. class RenderWindow;
  6. class Viewport;
  7. class Camera;
  8. }
  9. namespace CamelotEngine
  10. {
  11. class Application
  12. {
  13. public:
  14. Application();
  15. void startUp();
  16. void shutDown();
  17. void DBG_renderSimpleFrame();
  18. private:
  19. Ogre::RenderWindow* mRenderWindow;
  20. Ogre::Viewport* mViewport;
  21. Ogre::Camera* mCamera;
  22. };
  23. Application& gApplication();
  24. }