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
Source§fn clone(&self) -> HitGroupKind
fn clone(&self) -> HitGroupKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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
Source§fn cmp(&self, other: &HitGroupKind) -> Ordering
fn cmp(&self, other: &HitGroupKind) -> Ordering
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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for HitGroupKind
Auto Trait Implementations§
impl Forget for HitGroupKind
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