Trait kas_wgpu::draw::CustomWindow [−][src]
pub trait CustomWindow: 'static {
type Param;
fn invoke(&mut self, pass: PassId, rect: Rect, param: Self::Param);
}Expand description
Per-window state for a custom draw pipe
One instance is constructed per window. Since the CustomPipe is not
accessible during a widget’s kas::Layout::draw calls, this struct must
batch per-frame draw data.
Associated Types
Required methods
Implementations on Foreign Types
A dummy implementation (does nothing)