pub trait ComputePassInterface: CommonTraits {
// Required methods
fn set_pipeline(&mut self, pipeline: &DispatchComputePipeline);
fn set_bind_group(
&mut self,
index: u32,
bind_group: Option<&DispatchBindGroup>,
offsets: &[DynamicOffset],
);
fn set_push_constants(&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);
}
Required Methods§
fn set_pipeline(&mut self, pipeline: &DispatchComputePipeline)
fn set_bind_group( &mut self, index: u32, bind_group: Option<&DispatchBindGroup>, offsets: &[DynamicOffset], )
fn set_push_constants(&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)
Implementors§
impl ComputePassInterface for CoreComputePass
Available on
wgpu_core
only.