pub enum RayQueryIntersection {
    None = 0,
    Triangle = 1,
    Generated = 2,
    Aabb = 3,
}Expand description
Type of a ray query intersection. Matching vulkan constants can be found in https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_KHR_ray_query.asciidoc but the actual values are different for candidate intersections.
Variants§
None = 0
No intersection found.
Matches RayQueryCommittedIntersectionNoneKHR.
Triangle = 1
Intersecting with triangles.
Matches RayQueryCommittedIntersectionTriangleKHR and RayQueryCandidateIntersectionTriangleKHR.
Generated = 2
Intersecting with generated primitives.
Matches RayQueryCommittedIntersectionGeneratedKHR.
Aabb = 3
Intersecting with Axis Aligned Bounding Boxes.
Matches RayQueryCandidateIntersectionAABBKHR.
Trait Implementations§
Source§impl Clone for RayQueryIntersection
 
impl Clone for RayQueryIntersection
Source§fn clone(&self) -> RayQueryIntersection
 
fn clone(&self) -> RayQueryIntersection
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 RayQueryIntersection
 
impl Debug for RayQueryIntersection
Source§impl Default for RayQueryIntersection
 
impl Default for RayQueryIntersection
Source§fn default() -> RayQueryIntersection
 
fn default() -> RayQueryIntersection
Returns the “default value” for a type. Read more
Source§impl Hash for RayQueryIntersection
 
impl Hash for RayQueryIntersection
Source§impl Ord for RayQueryIntersection
 
impl Ord for RayQueryIntersection
Source§fn cmp(&self, other: &RayQueryIntersection) -> Ordering
 
fn cmp(&self, other: &RayQueryIntersection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RayQueryIntersection
 
impl PartialEq for RayQueryIntersection
Source§impl PartialOrd for RayQueryIntersection
 
impl PartialOrd for RayQueryIntersection
impl Copy for RayQueryIntersection
impl Eq for RayQueryIntersection
impl StructuralPartialEq for RayQueryIntersection
Auto Trait Implementations§
impl Freeze for RayQueryIntersection
impl RefUnwindSafe for RayQueryIntersection
impl Send for RayQueryIntersection
impl Sync for RayQueryIntersection
impl Unpin for RayQueryIntersection
impl UnwindSafe for RayQueryIntersection
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Comparable<K> for Q
 
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.