pub enum RayTracingShaderGroupType {
General,
ProceduralHitGroup,
TrianglesHitGroup,
}Expand description
Describes a type of ray tracing shader group, which is a collection of shaders which run in the specified mode.
Variants§
General
A shader group with a general shader.
ProceduralHitGroup
A shader group with an intersection shader, and optional closest-hit and any-hit shaders.
TrianglesHitGroup
A shader group with a closest-hit shader and optional any-hit shader.
Trait Implementations§
Source§impl Clone for RayTracingShaderGroupType
impl Clone for RayTracingShaderGroupType
Source§fn clone(&self) -> RayTracingShaderGroupType
fn clone(&self) -> RayTracingShaderGroupType
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 RayTracingShaderGroupType
Source§impl Debug for RayTracingShaderGroupType
impl Debug for RayTracingShaderGroupType
Source§impl From<RayTracingShaderGroupType> for RayTracingShaderGroupTypeKHR
impl From<RayTracingShaderGroupType> for RayTracingShaderGroupTypeKHR
Source§fn from(shader_group_type: RayTracingShaderGroupType) -> Self
fn from(shader_group_type: RayTracingShaderGroupType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RayTracingShaderGroupType
impl RefUnwindSafe for RayTracingShaderGroupType
impl Send for RayTracingShaderGroupType
impl Sync for RayTracingShaderGroupType
impl Unpin for RayTracingShaderGroupType
impl UnsafeUnpin for RayTracingShaderGroupType
impl UnwindSafe for RayTracingShaderGroupType
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