ComputePassExt

Trait ComputePassExt 

Source
pub trait ComputePassExt {
    // Required methods
    fn compute_pass<'a>(&'a mut self, label: &'a str) -> ComputePass<'a>;
    fn compute_pass_unlabeled(&mut self) -> ComputePass<'_>;
}
Expand description

Helper trait for creating compute passes from FrameContext.

Required Methods§

Source

fn compute_pass<'a>(&'a mut self, label: &'a str) -> ComputePass<'a>

Create a compute pass with a label.

Source

fn compute_pass_unlabeled(&mut self) -> ComputePass<'_>

Create a compute pass without a label.

Implementors§