|
3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
|
Classes | |
| struct | PluginInfo |
| Plugin information. More... | |
| class | PluginManager |
Typedefs | |
| typedef E3DRSP_RawSpan(* | LoadCustomObjects) (void) |
| Returns a span of ReflectedObject references that contain custom object reflection data. | |
| typedef void *(* | ObjectCustomWindow) (void *hwnd, void *hInstance, void *reflectionData, void *contentManager, void *object) |
| The function signature for the function that creates a custom window for editing a custom object in the editor. | |
| typedef PluginInfo(* | LoadPluginInfo) () |
| Returns plugin base information. | |
| typedef bool(* | PluginMain) () |
| Entry base function for a 3DRadSpace plugin. | |
| typedef bool(* | PluginUnload) () |
| Called when unloading the plugin. | |
Enumerations | |
| enum class | PluginLoadingError { UnableToLoadPluginLibrary , NotA3DRadSpacePlugin , InitializationFunctionFailure } |
| Error when attempted to load a 3DRadSpace plugin. More... | |
Functions | |
| size_t E3DRSP_PLUGINS_EXPORT | LoadCustomObjectsFromLibHandle (void *libraryHandle) |
| Loads custom objects from a library handle for the editor. | |
| std::expected< std::pair< PluginInfo, void * >, PluginLoadingError > E3DRSP_PLUGINS_EXPORT | LoadPlugin (const std::filesystem::path &pluginPath) |
| Loads a plugin for the editor. | |
| typedef E3DRSP_RawSpan(* Engine3DRadSpace::Plugins::LoadCustomObjects) (void) |
Returns a span of ReflectedObject references that contain custom object reflection data.
| typedef PluginInfo(* Engine3DRadSpace::Plugins::LoadPluginInfo) () |
Returns plugin base information.
| typedef void *(* Engine3DRadSpace::Plugins::ObjectCustomWindow) (void *hwnd, void *hInstance, void *reflectionData, void *contentManager, void *object) |
The function signature for the function that creates a custom window for editing a custom object in the editor.
Returns a pointer to the new or updated object.
The arguments are:
An analogue for the default implementation would be EditObjectDialog(...).ShowDialog().
| typedef bool(* Engine3DRadSpace::Plugins::PluginMain) () |
Entry base function for a 3DRadSpace plugin.
When called, PluginMain has to:
| typedef bool(* Engine3DRadSpace::Plugins::PluginUnload) () |
Called when unloading the plugin.
|
strong |
Error when attempted to load a 3DRadSpace plugin.
| Enumerator | |
|---|---|
| UnableToLoadPluginLibrary | Returned if the library module coudln't be loaded. |
| NotA3DRadSpacePlugin | Returned if the loaded library/DLL doesn't have the LoadPluginInfo() or PluginMain() functions. |
| InitializationFunctionFailure | PluginMain() was called, but it returned false. |
| size_t Engine3DRadSpace::Plugins::LoadCustomObjectsFromLibHandle | ( | void * | libraryHandle | ) |
Loads custom objects from a library handle for the editor.
| libraryHandle | HMODULE in Windows, void* in Linux |
| std::expected< std::pair< PluginInfo, void * >, PluginLoadingError > Engine3DRadSpace::Plugins::LoadPlugin | ( | const std::filesystem::path & | pluginPath | ) |
Loads a plugin for the editor.
| pluginPath | Path to plugin library file |