Operator SDK
Build MIDI processing and UI modes for the Operator device
Loading...
Searching...
No Matches
op::params::Bool Struct Reference

A two-state on/off toggle. More...

#include <params.h>

Public Attributes

std::string_view name
 Display name shown in the settings UI.
bool default_ = false
 Initial state.
uint8_t is_per_instance = 0
 Set to 1 to give each mode instance its own copy of this value (output modes only; ignored for global modes).
ParentRef parent = {}
 Optional Section this parameter nests under.
VisibleWhen visible_when = {}
 Optional gate that hides this parameter based on a sibling's value (see gate).

Detailed Description

A two-state on/off toggle.

Renders as a yes/no (or on/off) switch. Read it back with param<>() as a 0 or 1 integer.


The documentation for this struct was generated from the following file: