BsRenderSystemFactory.h 476 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "BsCorePrerequisites.h"
  3. namespace BansheeEngine
  4. {
  5. /**
  6. * @brief Factory class that you may specialize in order to start up
  7. * a specific render system.
  8. */
  9. class RenderSystemFactory
  10. {
  11. public:
  12. /**
  13. * @brief Creates and starts up the render system managed by this factory.
  14. */
  15. virtual void create() = 0;
  16. /**
  17. * @brief Returns the name of the render system this factory creates.
  18. */
  19. virtual const String& name() const = 0;
  20. };
  21. }