Skip to main content

RayTracingPassInterface

Trait RayTracingPassInterface 

Source
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§

Source

fn set_pipeline(&mut self, pipeline: &DispatchRayTracingPipeline)

Source

fn set_bind_group( &mut self, index: u32, bind_group: Option<&DispatchBindGroup>, offsets: &[DynamicOffset], )

Source

fn set_immediates(&mut self, offset: u32, data: &[u8])

Source

fn insert_debug_marker(&mut self, label: &str)

Source

fn push_debug_group(&mut self, group_label: &str)

Source

fn pop_debug_group(&mut self)

Source

fn trace_rays(&mut self, x: u32, y: u32, z: u32)

Implementors§

Source§

impl RayTracingPassInterface for CoreRayTracingPass

Available on wgpu_core only.