Function vst_window::setup
source · [−]pub fn setup(
parent: *mut c_void,
size_xy: (i32, i32)
) -> (EditorWindow, EventSource)
Expand description
Build a platform-specific window and return a cross-platform RawWindowHandle
implementor,
used as a surface for rendering, as well as a cross-platform EventSource
, which is used to
poll WindowEvent
s.
parent
should be a window handle as passed from a host to a plugin by the vst
crate.