Plugin.this

this(string klass, string name)

Creates a new plugin with the given class and name.

The plugin is automatically registered in the plugin database under the specified class.

Parameters

klassPlugin class/category name
namePlugin name within the class
this(PluginPtr handle, bool ownsHandle = false)

Creates a Plugin wrapper for an existing handle.

Used internally when retrieving plugins from a manager.

Parameters

handleExisting plugin handle
ownsHandleWhether this wrapper owns the handle