#[repr(C)]pub struct CreateBlasDescriptor<L> {
pub label: L,
pub flags: AccelerationStructureFlags,
pub update_mode: AccelerationStructureUpdateMode,
}
Expand description
Descriptor for creating a bottom level acceleration structure.
Fields§
§label: L
Label for the bottom level acceleration structure.
flags: AccelerationStructureFlags
Flags for the bottom level acceleration structure.
update_mode: AccelerationStructureUpdateMode
Update mode for the bottom level acceleration structure.
Implementations§
Source§impl<L> CreateBlasDescriptor<L>
impl<L> CreateBlasDescriptor<L>
Sourcepub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> CreateBlasDescriptor<K>
pub fn map_label<K>(&self, fun: impl FnOnce(&L) -> K) -> CreateBlasDescriptor<K>
Takes a closure and maps the label of the blas descriptor into another.
Trait Implementations§
Source§impl<L: Clone> Clone for CreateBlasDescriptor<L>
impl<L: Clone> Clone for CreateBlasDescriptor<L>
Source§fn clone(&self) -> CreateBlasDescriptor<L>
fn clone(&self) -> CreateBlasDescriptor<L>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<L: Debug> Debug for CreateBlasDescriptor<L>
impl<L: Debug> Debug for CreateBlasDescriptor<L>
Source§impl<L: Hash> Hash for CreateBlasDescriptor<L>
impl<L: Hash> Hash for CreateBlasDescriptor<L>
Source§impl<L: PartialEq> PartialEq for CreateBlasDescriptor<L>
impl<L: PartialEq> PartialEq for CreateBlasDescriptor<L>
impl<L: Eq> Eq for CreateBlasDescriptor<L>
impl<L> StructuralPartialEq for CreateBlasDescriptor<L>
Auto Trait Implementations§
impl<L> Freeze for CreateBlasDescriptor<L>where
L: Freeze,
impl<L> RefUnwindSafe for CreateBlasDescriptor<L>where
L: RefUnwindSafe,
impl<L> Send for CreateBlasDescriptor<L>where
L: Send,
impl<L> Sync for CreateBlasDescriptor<L>where
L: Sync,
impl<L> Unpin for CreateBlasDescriptor<L>where
L: Unpin,
impl<L> UnwindSafe for CreateBlasDescriptor<L>where
L: UnwindSafe,
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