pub struct TlasDesc {
pub label: &'static str,
pub max_instances: u32,
pub flags: AccelerationStructureFlags,
pub update_mode: AccelerationStructureUpdateMode,
}Expand description
Descriptor for allocating a TLAS.
Fields§
§label: &'static strDiagnostic label.
max_instances: u32Maximum number of instances.
flags: AccelerationStructureFlagsConstruction preferences.
update_mode: AccelerationStructureUpdateModeBuild/update policy.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TlasDesc
impl RefUnwindSafe for TlasDesc
impl Send for TlasDesc
impl Sync for TlasDesc
impl Unpin for TlasDesc
impl UnsafeUnpin for TlasDesc
impl UnwindSafe for TlasDesc
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