Enum sierra::RayTracingShaderGroupInfo[][src]

pub enum RayTracingShaderGroupInfo {
    Raygen {
        raygen: u32,
    },
    Miss {
        miss: u32,
    },
    Triangles {
        any_hit: Option<u32>,
        closest_hit: Option<u32>,
    },
}

Variants

Raygen

Fields of Raygen

raygen: u32

Index of raygen shader in RayTracingPipelineInfo::shaders.

Miss

Fields of Miss

miss: u32

Index of miss shader in RayTracingPipelineInfo::shaders.

Triangles

Fields of Triangles

any_hit: Option<u32>

Index of any-hit shader in RayTracingPipelineInfo::shaders.

closest_hit: Option<u32>

Index of closest-hit shader in RayTracingPipelineInfo::shaders.

Trait Implementations

impl Clone for RayTracingShaderGroupInfo[src]

impl Copy for RayTracingShaderGroupInfo[src]

impl Debug for RayTracingShaderGroupInfo[src]

impl Eq for RayTracingShaderGroupInfo[src]

impl Hash for RayTracingShaderGroupInfo[src]

impl PartialEq<RayTracingShaderGroupInfo> for RayTracingShaderGroupInfo[src]

impl StructuralEq for RayTracingShaderGroupInfo[src]

impl StructuralPartialEq for RayTracingShaderGroupInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.