| 123456789101112131415161718192021222324 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #include "BsFontPrerequisites.h"
- #include "Importer/BsImporter.h"
- #include "BsFontImporter.h"
- namespace bs
- {
- /** Returns a name of the plugin. */
- extern "C" BS_PLUGIN_EXPORT const char* getPluginName()
- {
- static const char* pluginName = "FontImporter";
- return pluginName;
- }
- /** Entry point to the plugin. Called by the engine when the plugin is loaded. */
- extern "C" BS_PLUGIN_EXPORT void* loadPlugin()
- {
- FontImporter* importer = bs_new<FontImporter>();
- Importer::instance()._registerAssetImporter(importer);
- return nullptr;
- }
- }
|