pub struct ComputeRecorder<'a> { /* private fields */ }Implementations§
Source§impl<'a> ComputeRecorder<'a>
impl<'a> ComputeRecorder<'a>
pub fn begin( encoder: &'a mut CommandEncoder, label: &'a str, per_row: u32, ) -> Self
pub fn begin_timed( encoder: &'a mut CommandEncoder, label: &'a str, timing: Option<ComputePassTimestampWrites<'a>>, per_row: u32, ) -> Self
pub fn record( &mut self, pipeline: &ComputePipeline, bind_groups: &[&BindGroup], count: u32, )
pub fn record_indirect( &mut self, pipeline: &ComputePipeline, bind_groups: &[&BindGroup], table: &DispatchTable, slot: u32, )
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ComputeRecorder<'a>
impl<'a> !UnwindSafe for ComputeRecorder<'a>
impl<'a> Freeze for ComputeRecorder<'a>
impl<'a> Send for ComputeRecorder<'a>
impl<'a> Sync for ComputeRecorder<'a>
impl<'a> Unpin for ComputeRecorder<'a>
impl<'a> UnsafeUnpin for ComputeRecorder<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more