pub struct Reaper { /* private fields */ }Expand description
This is the low-level API access point to all REAPER functions.
In order to use it, you first must obtain an instance of this struct by invoking load().
§Panics
Please note that it’s possible that functions are not available. This can be the case if
the user runs your plug-in in an older version of REAPER which doesn’t have that function yet.
The availability of a function can be checked by inspecting the respective function pointer
option accessible via the pointers() method. The actual methods in this structs are just
convenience methods which unwrap the function pointers and panic if they are not available.
Implementations§
Source§impl Reaper
impl Reaper
Sourcepub fn load(context: &ReaperPluginContext) -> Reaper
pub fn load(context: &ReaperPluginContext) -> Reaper
Loads all available REAPER functions from the given plug-in context.
Returns a low-level Reaper instance which allows you to call these functions.