pub struct Blas {
pub(crate) raw: Snatchable<Box<dyn DynAccelerationStructure>>,
pub(crate) device: Arc<Device>,
pub(crate) size_info: AccelerationStructureBuildSizes,
pub(crate) sizes: BlasGeometrySizeDescriptors,
pub(crate) flags: AccelerationStructureFlags,
pub(crate) update_mode: AccelerationStructureUpdateMode,
pub(crate) built_index: RwLock<Option<NonZeroU64>>,
pub(crate) handle: u64,
pub(crate) label: String,
pub(crate) tracking_data: TrackingData,
}
Fields§
§raw: Snatchable<Box<dyn DynAccelerationStructure>>
§device: Arc<Device>
§size_info: AccelerationStructureBuildSizes
§sizes: BlasGeometrySizeDescriptors
§flags: AccelerationStructureFlags
§update_mode: AccelerationStructureUpdateMode
§built_index: RwLock<Option<NonZeroU64>>
§handle: u64
§label: String
The label
from the descriptor used to create the resource.
tracking_data: TrackingData
Implementations§
Trait Implementations§
source§impl AccelerationStructure for Blas
impl AccelerationStructure for Blas
fn raw<'a>( &'a self, guard: &'a SnatchGuard<'_>, ) -> Option<&'a dyn DynAccelerationStructure>
source§impl Labeled for Blas
impl Labeled for Blas
source§fn label(&self) -> &str
fn label(&self) -> &str
Returns a string identifying this resource for logging and errors. Read more
fn error_ident(&self) -> ResourceErrorIdent
source§impl ParentDevice for Blas
impl ParentDevice for Blas
source§impl Trackable for Blas
impl Trackable for Blas
fn tracker_index(&self) -> TrackerIndex
Auto Trait Implementations§
impl !Freeze for Blas
impl !RefUnwindSafe for Blas
impl Send for Blas
impl Sync for Blas
impl Unpin for Blas
impl !UnwindSafe for Blas
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