Home -> PlatformBindings -> IModuleHandle

Declaration

class IModuleHandle;

Description

The IModuleHandle interface represents an owning reference to a dynamically loaded renderer plugin module.

Renderer plugin loading helpers use module handles to keep a plugin library loaded while objects allocated by that plugin are still alive.

WarningWarning

Do not unload a renderer plugin library while its graphics device enumerator, devices, renderer, or resources are still alive. Keep the relevant IModuleHandle::unique_ptr alive until those objects have been destroyed.

Members

Initialization methods

Name Description
Public member Clone
Creates another owning handle to the same module.
Public member Delete
Deletes the module handle object.

See also