| 12345678910111213141516171819202122 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #include "BsRenderBeastPrerequisites.h"
- #include "BsRenderBeastFactory.h"
- #include "Renderer/BsRendererManager.h"
- namespace bs
- {
- /** Returns a name of the plugin. */
- extern "C" BS_PLUGIN_EXPORT const char* getPluginName()
- {
- return SystemName;
- }
- /** Entry point to the plugin. Called by the engine when the plugin is loaded. */
- extern "C" BS_PLUGIN_EXPORT void* loadPlugin()
- {
- RendererManager::instance()._registerFactory(bs_shared_ptr_new<RenderBeastFactory>());
- return nullptr;
- }
- }
|