Struct sierra::AccelerationStructureBuildGeometryInfo[][src]

pub struct AccelerationStructureBuildGeometryInfo<'a> {
    pub src: Option<AccelerationStructure>,
    pub dst: AccelerationStructure,
    pub flags: AccelerationStructureBuildFlags,
    pub geometries: &'a [AccelerationStructureGeometry],
    pub scratch: DeviceAddress,
}

Data provided to acceleration structure build operation.

Fields

src: Option<AccelerationStructure>

Source acceleration structure to copy from.

dst: AccelerationStructure

Destination acceleration structure to build into.

flags: AccelerationStructureBuildFlags

Flags to specify options for the acceleration structure building.

geometries: &'a [AccelerationStructureGeometry]

Array of geometries to build into acceleration structure.

scratch: DeviceAddress

Scratch memory that will be using during acceleration structure building process. See AccelerationStructureBuildSizesInfo to see how much memory is required.

Trait Implementations

impl<'a> Clone for AccelerationStructureBuildGeometryInfo<'a>[src]

impl<'a> Debug for AccelerationStructureBuildGeometryInfo<'a>[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.