![]() |
Castor3D 0.12.0
Multiplatform 3D engine
|
#include <ImporterPlugin.hpp>
Public Types | |
typedef std::pair< castor::String, castor::String > | Extension |
![]() | |
typedef OnLoadFunction * | POnLoadFunction |
typedef OnUnloadFunction * | POnUnloadFunction |
typedef GetTypeFunction * | PGetTypeFunction |
typedef GetRequiredVersionFunction * | PGetRequiredVersionFunction |
typedef GetNameFunction * | PGetNameFunction |
Public Member Functions | |
CU_DeclareVector (Extension, Extension) | |
C3D_API | ImporterPlugin (castor::DynamicLibrarySPtr library, Engine *engine) |
Constructor. More... | |
C3D_API | ~ImporterPlugin () override |
Destructor. More... | |
C3D_API ExtensionArray const & | getExtensions () |
Retrieves the supported file extensions array. More... | |
C3D_API void | addExtension (Extension const &extension) |
adds a supported extension. More... | |
![]() | |
virtual C3D_API | ~Plugin ()=0 |
Destructor. More... | |
C3D_API void | getRequiredVersion (Version &version) const |
Retrieves the required version for the plug-in to work correctly. More... | |
C3D_API castor::String | getName () const |
Retrieves the plug-in name. More... | |
PluginType | getType () const |
Retrieves the plug-in type. More... | |
Friends | |
class | Plugin |
class | Engine |
Additional Inherited Members | |
![]() | |
C3D_API | Plugin (PluginType type, castor::DynamicLibrarySPtr library, Engine &engine) |
Constructor. More... | |
void | load () |
Calls load function for the plug-in. More... | |
void | unload () |
Calls unload function for the plug-in. More... | |
![]() | |
PGetRequiredVersionFunction | m_pfnGetRequiredVersion |
PGetNameFunction | m_pfnGetName |
POnLoadFunction | m_pfnOnLoad |
POnUnloadFunction | m_pfnOnUnload |
PluginType | m_type |
castor::DynamicLibraryWPtr | m_library |
typedef std::pair< castor::String, castor::String > castor3d::ImporterPlugin::Extension |
C3D_API castor3d::ImporterPlugin::ImporterPlugin | ( | castor::DynamicLibrarySPtr | library, |
Engine * | engine | ||
) |
Constructor.
[in] | library | The shared library holding the plug-in |
[in] | engine | The engine |
|
override |
Destructor.
adds a supported extension.
[in] | extension | The extension. |
C3D_API ExtensionArray const & castor3d::ImporterPlugin::getExtensions | ( | ) |
Retrieves the supported file extensions array.
|
friend |
|
friend |