Trait kas_wgpu::draw::DrawCustom
source · [−]pub trait DrawCustom<CW: CustomWindow> {
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 crate::Toolkit::new_custom
.