DrawCustom

Trait DrawCustom 

Source
pub trait DrawCustom<CW: CustomWindow> {
    // Required method
    fn custom(&mut self, pass: PassId, rect: Rect, param: CW::Param);
}
Expand description

Allows use of the low-level graphics API

To use this, write an implementation of CustomPipe, then pass the corresponding CustomPipeBuilder to Runner::new_custom.

Required Methods§

Source

fn custom(&mut self, pass: PassId, rect: Rect, param: CW::Param)

Call a custom draw pipe

Implementors§