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

A multi-select set of named options stored as a bitmask. More...

#include <params.h>

Public Attributes

std::string_view name
 Display name shown in the settings UI.
std::initializer_list< std::string_view > options
 Option labels in index order (the first is index 0).
int32_t default_mask = 0
 Initial selection as a bitmask (bit N set means option N is on).
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 multi-select set of named options stored as a bitmask.

Like Enum but several options can be on at once. The stored value is a bitmap where bit N is set when option N is selected. Set the initial selection with .default_mask.


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