1 | //************************************ bs::framework - Copyright 2018 Marko Pintera **************************************// |
2 | //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// |
3 | #pragma once |
4 | |
5 | #include "BsRenderBeastPrerequisites.h" |
6 | #include "Renderer/BsRendererFactory.h" |
7 | |
8 | namespace bs |
9 | { |
10 | /** @addtogroup RenderBeast |
11 | * @{ |
12 | */ |
13 | /** |
14 | * Renderer factory implementation that creates and initializes the default framework renderer. Used by the |
15 | * RendererManager. |
16 | */ |
17 | class RenderBeastFactory : public RendererFactory |
18 | { |
19 | public: |
20 | static constexpr const char* SystemName = "bsfRenderBeast" ; |
21 | |
22 | /** @copydoc RendererFactory::create */ |
23 | SPtr<ct::Renderer> create() override; |
24 | |
25 | /** @copydoc RendererFactory::name */ |
26 | const String& name() const override; |
27 | }; |
28 | |
29 | /** @} */ |
30 | } |
31 | |