LV2UI_Descriptor.instantiate

Create a new UI and return a handle to it. This function works similarly to LV2_Descriptor::instantiate().

@param descriptor The descriptor for the UI to instantiate.

@param plugin_uri The URI of the plugin that this UI will control.

@param bundle_path The path to the bundle containing this UI, including the trailing directory separator.

@param write_function A function that the UI can use to send data to the plugin's input ports.

@param controller A handle for the UI instance to be passed as the first parameter of UI methods.

@param widget (output) widget pointer. The UI points this at its main widget, which has the type defined by the UI type in the data file.

@param features An array of LV2_Feature pointers. The host must pass all feature URIs that it and the UI supports and any additional data, as in LV2_Descriptor::instantiate(). Note that UI features and plugin features are not necessarily the same.

struct LV2UI_Descriptor
extern (C) nothrow @nogc
LV2UI_Handle function(const LV2UI_Descriptor* descriptor, const char* plugin_uri, const char* bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget* widget, const(LV2_Feature*)* features) instantiate;

Meta