pub struct DawnComputePass { /* private fields */ }Methods from Deref<Target = ComputePassEncoder>§
pub fn insert_debug_marker(&self, marker_label: String)
pub fn pop_debug_group(&self)
pub fn push_debug_group(&self, group_label: String)
pub fn set_pipeline(&self, pipeline: ComputePipeline)
pub fn set_bind_group( &self, group_index: u32, group: Option<BindGroup>, dynamic_offsets: &[u32], )
pub fn write_timestamp(&self, query_set: QuerySet, query_index: u32)
pub fn dispatch_workgroups( &self, workgroup_count_x: u32, workgroup_count_y: u32, workgroup_count_z: u32, )
pub fn dispatch_workgroups_indirect( &self, indirect_buffer: Buffer, indirect_offset: u64, )
pub fn end(&self)
pub fn set_label(&self, label: String)
pub fn set_immediates(&self, offset: u32, data: &[c_void])
pub fn set_resource_table(&self, table: Option<ResourceTable>)
Trait Implementations§
Source§impl ComputePassInterface for DawnComputePass
impl ComputePassInterface for DawnComputePass
fn set_pipeline(&mut self, pipeline: &DispatchComputePipeline)
fn set_bind_group( &mut self, index: u32, bind_group: Option<&DispatchBindGroup>, offsets: &[DynamicOffset], )
fn set_immediates(&mut self, offset: u32, data: &[u8])
fn insert_debug_marker(&mut self, label: &str)
fn push_debug_group(&mut self, group_label: &str)
fn pop_debug_group(&mut self)
fn write_timestamp(&mut self, query_set: &DispatchQuerySet, query_index: u32)
fn begin_pipeline_statistics_query( &mut self, _query_set: &DispatchQuerySet, _query_index: u32, )
fn end_pipeline_statistics_query(&mut self)
fn dispatch_workgroups(&mut self, x: u32, y: u32, z: u32)
fn dispatch_workgroups_indirect( &mut self, indirect_buffer: &DispatchBuffer, indirect_offset: BufferAddress, )
fn end(&mut self)
Source§impl Debug for DawnComputePass
impl Debug for DawnComputePass
Source§impl Deref for DawnComputePass
impl Deref for DawnComputePass
Auto Trait Implementations§
impl Freeze for DawnComputePass
impl RefUnwindSafe for DawnComputePass
impl Send for DawnComputePass
impl Sync for DawnComputePass
impl Unpin for DawnComputePass
impl UnsafeUnpin for DawnComputePass
impl UnwindSafe for DawnComputePass
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