Struct sierra::AccelerationStructureInfo [−][src]
pub struct AccelerationStructureInfo { pub level: AccelerationStructureLevel, pub region: BufferRange, }
Expand description
Information required to create an instance of AccelerationStructure
.
Fields
level: AccelerationStructureLevel
Acceleration structure level. Either top level that reference to bottom level structures. Or bottom level that refer to geometry.
region: BufferRange
Region of the buffer that will be used to store AccelerationStructure
.
Buffer must be created with ACCELERATION_STRUCTURE_STORAGE
usage flag.
required size can be queried using Device::get_acceleration_structure_build_sizes
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AccelerationStructureInfo
impl Send for AccelerationStructureInfo
impl Sync for AccelerationStructureInfo
impl Unpin for AccelerationStructureInfo
impl !UnwindSafe for AccelerationStructureInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more