pub trait FFGLInstance {
    // Required methods
    fn get_param(&self, index: usize) -> f32;
    fn set_param(&mut self, index: usize, value: f32);
    fn draw(&mut self, inst_data: &FFGLData, frame_data: GLInput<'_>);
}
Expand description

This type is created once per instance of a plugin

Required Methods§

source

fn get_param(&self, index: usize) -> f32

source

fn set_param(&mut self, index: usize, value: f32)

source

fn draw(&mut self, inst_data: &FFGLData, frame_data: GLInput<'_>)

Called by crate::conversions::Op::ProcessOpenGL to draw the plugin

Implementors§