Struct kas_wgpu::draw::DrawPipe [−][src]
pub struct DrawPipe<C> { /* fields omitted */ }
Expand description
Shared pipeline data
Implementations
pub fn new<CB: CustomPipeBuilder<Pipe = C>>(
custom: CB,
(device, queue): (Device, Queue),
raster_config: &RasterConfig
) -> Self
pub fn new<CB: CustomPipeBuilder<Pipe = C>>(
custom: CB,
(device, queue): (Device, Queue),
raster_config: &RasterConfig
) -> Self
Construct
Construct per-window state
Process window resize
pub fn render(
&mut self,
window: &mut DrawWindow<C::Window>,
frame_view: &TextureView,
clear_color: Color
)
pub fn render(
&mut self,
window: &mut DrawWindow<C::Window>,
frame_view: &TextureView,
clear_color: Color
)
Render batched draw instructions via rpass
Auto Trait Implementations
impl<C> !RefUnwindSafe for DrawPipe<C>
impl<C> !UnwindSafe for DrawPipe<C>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn cast_trunc(self) -> T
pub fn cast_trunc(self) -> T
Cast to integer, truncating Read more
pub fn cast_nearest(self) -> T
pub fn cast_nearest(self) -> T
Cast to the nearest integer Read more
pub fn cast_floor(self) -> T
pub fn cast_floor(self) -> T
Cast the floor to an integer Read more
pub fn try_cast_trunc(self) -> Result<T, Error>
pub fn try_cast_trunc(self) -> Result<T, Error>
Try converting to integer with truncation Read more
pub fn try_cast_nearest(self) -> Result<T, Error>
pub fn try_cast_nearest(self) -> Result<T, Error>
Try converting to the nearest integer Read more
pub fn try_cast_floor(self) -> Result<T, Error>
pub fn try_cast_floor(self) -> Result<T, Error>
Try converting the floor to an integer Read more
pub fn try_cast_ceil(self) -> Result<T, Error>
pub fn try_cast_ceil(self) -> Result<T, Error>
Try convert the ceiling to an integer Read more