BsRenderSystemFactory.h 827 B

123456789101112131415161718192021222324252627
  1. //__________________________ Banshee Project - A modern game development toolkit _________________________________//
  2. //_____________________________________ www.banshee-project.com __________________________________________________//
  3. //________________________ Copyright (c) 2014 Marko Pintera. All rights reserved. ________________________________//
  4. #pragma once
  5. #include "BsCorePrerequisites.h"
  6. namespace BansheeEngine
  7. {
  8. /**
  9. * @brief Factory class that you may specialize in order to start up
  10. * a specific render system.
  11. */
  12. class RenderSystemFactory
  13. {
  14. public:
  15. /**
  16. * @brief Creates and starts up the render system managed by this factory.
  17. */
  18. virtual void create() = 0;
  19. /**
  20. * @brief Returns the name of the render system this factory creates.
  21. */
  22. virtual const String& name() const = 0;
  23. };
  24. }