Skip to main content

ArcRayTracingCommand

Type Alias ArcRayTracingCommand 

Source
pub type ArcRayTracingCommand = RayTracingCommand<ArcReferences>;
Expand description

cbindgen:ignore

Aliased Type§

pub enum ArcRayTracingCommand {
    SetBindGroup {
        index: u32,
        num_dynamic_offsets: usize,
        bind_group: Option<Arc<BindGroup>>,
    },
    SetPipeline(Arc<RayTracingPipeline>),
    SetImmediate {
        offset: u32,
        data: Vec<u32>,
    },
    TraceRays([u32; 3]),
    PushDebugGroup {
        color: u32,
        len: usize,
    },
    PopDebugGroup,
    InsertDebugMarker {
        color: u32,
        len: usize,
    },
}

Variants§

§

SetBindGroup

Fields

§index: u32
§num_dynamic_offsets: usize
§bind_group: Option<Arc<BindGroup>>
§

SetPipeline(Arc<RayTracingPipeline>)

§

SetImmediate

Set a range of immediates to values stored in immediates_data.

Fields

§offset: u32

The byte offset within the immediate data storage to write to. This must be a multiple of four.

§data: Vec<u32>

The immediate data to be written.

§

TraceRays([u32; 3])

§

PushDebugGroup

Fields

§color: u32
§len: usize
§

PopDebugGroup

§

InsertDebugMarker

Fields

§color: u32
§len: usize

Trait Implementations§

Source§

impl IntoTrace for ArcRayTracingCommand

Available on (crate features trace or replay) and crate feature trace only.
Source§

type Output = RayTracingCommand<PointerReferences>

Source§

fn into_trace(self) -> Self::Output

Source§

fn to_trace(&self) -> Self::Output
where Self: Sized + Clone,