pub enum HitGroupKind {
Triangles,
ProceduralPrimitives,
}Expand description
What a hit group runs for the geometry it is bound to.
Variants§
Triangles
Triangles: the built-in intersection test, an optional any-hit and closest-hit program.
ProceduralPrimitives
Procedural primitives: an intersection program of the library, an optional any-hit and closest-hit program.
Trait Implementations§
Source§impl Clone for HitGroupKind
impl Clone for HitGroupKind
impl Copy for HitGroupKind
Source§impl Debug for HitGroupKind
impl Debug for HitGroupKind
impl Eq for HitGroupKind
Source§impl Hash for HitGroupKind
impl Hash for HitGroupKind
Source§impl Ord for HitGroupKind
impl Ord for HitGroupKind
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for HitGroupKind
impl PartialEq for HitGroupKind
Source§impl PartialOrd for HitGroupKind
impl PartialOrd for HitGroupKind
Source§impl Serialize for HitGroupKind
impl Serialize for HitGroupKind
impl StructuralPartialEq for HitGroupKind
Auto Trait Implementations§
impl Freeze for HitGroupKind
impl RefUnwindSafe for HitGroupKind
impl Send for HitGroupKind
impl Sync for HitGroupKind
impl Unpin for HitGroupKind
impl UnsafeUnpin for HitGroupKind
impl UnwindSafe for HitGroupKind
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