3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
Loading...
Searching...
No Matches
Engine3DRadSpace.Native Namespace Reference

OS-related functions to handle libraries, symbols, etc... More...

Classes

class  Window
 Represents an application window and provides access to input devices. More...

Functions

template<typename F>
F GetFunctionFromLibrary (void *libraryHandle, const std::string &name)
 OS-indepedent function that gets a function from a DLL using the function name.
E3DRSP_NATIVE_EXPORT void * Load_Library (const std::filesystem::path &path)
 Loads a DLL/library and returns it's handle.
E3DRSP_NATIVE_EXPORT void Free_Library (void *pModule)

Detailed Description

OS-related functions to handle libraries, symbols, etc...

Function Documentation

◆ Free_Library()

void Engine3DRadSpace::Native::Free_Library ( void * pModule)

◆ GetFunctionFromLibrary()

template<typename F>
F Engine3DRadSpace::Native::GetFunctionFromLibrary ( void * libraryHandle,
const std::string & name )

OS-indepedent function that gets a function from a DLL using the function name.

Template Parameters
FFunction typedef.
Parameters
libraryHandleHandle of the loaded library.
nameFunction name
Returns

◆ Load_Library()

void * Engine3DRadSpace::Native::Load_Library ( const std::filesystem::path & path)

Loads a DLL/library and returns it's handle.

Parameters
pathPath to DLL/library.
Returns
Module handle of the loaded library.