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 "BsSLPrerequisites.h"
4#include "BsSLImporter.h"
5#include "Importer/BsImporter.h"
6
7namespace bs
8{
9
10 /** Returns a name of the plugin. */
11 extern "C" BS_PLUGIN_EXPORT const char* getPluginName()
12 {
13 static constexpr const char* SystemName = "bsfSL";
14 return SystemName;
15 }
16
17 /** Entry point to the plugin. Called by the engine when the plugin is loaded. */
18 extern "C" BS_PLUGIN_EXPORT void* loadPlugin()
19 {
20 SLImporter* importer = bs_new<SLImporter>();
21 Importer::instance()._registerAssetImporter(importer);
22
23 return nullptr;
24 }
25}
26