pub enum RayPipelineFunction {
TraceRay {
acceleration_structure: Handle<Expression>,
descriptor: Handle<Expression>,
payload: Handle<Expression>,
},
}Expand description
Ray tracing pipeline intrinsics
Variants§
TraceRay
Traces a ray through the given acceleration structure
Fields
§
acceleration_structure: Handle<Expression>The acceleration structure within which this ray should search for hits.
The expression must be an AccelerationStructure.
§
descriptor: Handle<Expression>A struct of detailed parameters for the ray query.
This expression should have the struct type given in
SpecialTypes::ray_desc. This is available in the WGSL
front end as the RayDesc type.
§
payload: Handle<Expression>A pointer in the ray_payload or incoming_ray_payload address spaces
Trait Implementations§
Source§impl Clone for RayPipelineFunction
impl Clone for RayPipelineFunction
Source§fn clone(&self) -> RayPipelineFunction
fn clone(&self) -> RayPipelineFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RayPipelineFunction
impl Debug for RayPipelineFunction
impl Copy for RayPipelineFunction
Auto Trait Implementations§
impl Freeze for RayPipelineFunction
impl RefUnwindSafe for RayPipelineFunction
impl Send for RayPipelineFunction
impl Sync for RayPipelineFunction
impl Unpin for RayPipelineFunction
impl UnsafeUnpin for RayPipelineFunction
impl UnwindSafe for RayPipelineFunction
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