#[repr(u32)]pub enum CommittedIntersection {
None = 0,
Triangle = 1,
Generated = 2,
}
Expand description
Describes the type of the intersection currently committed in a ray query, returned by
RayQuery::get_committed_intersection_type
.
Variants§
None = 0
No intersection is committed.
Triangle = 1
An intersection with a triangle has been committed.
Generated = 2
A user-generated intersection has been committed.
Trait Implementations§
Source§impl Clone for CommittedIntersection
impl Clone for CommittedIntersection
Source§fn clone(&self) -> CommittedIntersection
fn clone(&self) -> CommittedIntersection
Returns a copy 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 Hash for CommittedIntersection
impl Hash for CommittedIntersection
Source§impl Ord for CommittedIntersection
impl Ord for CommittedIntersection
Source§fn cmp(&self, other: &CommittedIntersection) -> Ordering
fn cmp(&self, other: &CommittedIntersection) -> 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 CommittedIntersection
impl PartialEq for CommittedIntersection
Source§impl PartialOrd for CommittedIntersection
impl PartialOrd for CommittedIntersection
impl Copy for CommittedIntersection
impl Eq for CommittedIntersection
impl StructuralPartialEq for CommittedIntersection
Auto Trait Implementations§
impl Freeze for CommittedIntersection
impl RefUnwindSafe for CommittedIntersection
impl Send for CommittedIntersection
impl Sync for CommittedIntersection
impl Unpin for CommittedIntersection
impl UnwindSafe for CommittedIntersection
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