BsRenderAPIFactory.h 541 B

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