[][src]Trait kas_wgpu::draw::DrawCustom

pub trait DrawCustom<CW: CustomWindow> {
    fn custom(&mut self, pass: Pass, rect: Rect, param: CW::Param);
}

Allows use of the low-level graphics API

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

Required methods

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

Call a custom draw pipe

Loading content...

Implementors

impl<CW: CustomWindow> DrawCustom<CW> for DrawWindow<CW>[src]

Loading content...