pub trait RayTracingPassInterface: CommonTraits + Drop {
// Required methods
fn set_pipeline(&mut self, pipeline: &DispatchRayTracingPipeline);
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 trace_rays(&mut self, x: u32, y: u32, z: u32);
}Required Methods§
fn set_pipeline(&mut self, pipeline: &DispatchRayTracingPipeline)
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 trace_rays(&mut self, x: u32, y: u32, z: u32)
Implementors§
impl RayTracingPassInterface for CoreRayTracingPass
Available on
wgpu_core only.