loadPresetsFromFXB

Loads an array of Preset from a FBX file content. Gives ownership of the result, in a way that can be returned by buildPresets. IMPORTANT: if you store your presets in FBX form, the following limitations * One _add_ new parameters to the plug-in, no reorder or deletion * Don't remap the parameter (in a way that changes its normalized value) They are the same limitations that exist in Dplug in minor plugin version.

nothrow @nogc
loadPresetsFromFXB
(,,
int maxCount = -1
)

Examples

override Preset[] buildPresets() { return loadPresetsFromFXB(this, import("factory-presets.fxb")); }

Meta