mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Allow nested parameter structs
See the Parameters docstring for the caveats.
This commit is contained in:
@@ -23,7 +23,8 @@ pub mod widgets;
|
||||
/// contains the GUI's intitial size, and this is kept in sync whenever the GUI gets resized. You
|
||||
/// can also use this to know if the GUI is open, so you can avoid performing potentially expensive
|
||||
/// calculations while the GUI is not open. If you want this size to be persisted when restoring a
|
||||
/// plugin instance, then you can store it in a `#[persist]` field on your parameters struct.
|
||||
/// plugin instance, then you can store it in a `#[persist = "key"]` field on your parameters
|
||||
/// struct.
|
||||
///
|
||||
/// See [EguiState::from_size()].
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user