| 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 | #include "BsRenderBeastFactory.h" |
| 4 | #include "Renderer/BsRenderer.h" |
| 5 | #include "BsRenderBeast.h" |
| 6 | |
| 7 | namespace bs |
| 8 | { |
| 9 | constexpr const char* RenderBeastFactory::SystemName; |
| 10 | |
| 11 | SPtr<ct::Renderer> RenderBeastFactory::create() |
| 12 | { |
| 13 | return bs_shared_ptr_new<ct::RenderBeast>(); |
| 14 | } |
| 15 | |
| 16 | const String& RenderBeastFactory::name() const |
| 17 | { |
| 18 | static String StrSystemName = SystemName; |
| 19 | return StrSystemName; |
| 20 | } |
| 21 | } |
| 22 |