pub enum AccelerationStructureEntries<'a, B: DynBuffer + ?Sized> {
Instances(AccelerationStructureInstances<'a, B>),
Triangles(Vec<AccelerationStructureTriangles<'a, B>>),
AABBs(Vec<AccelerationStructureAABBs<'a, B>>),
}
Expand description
Entries for a single descriptor
Instances
- Multiple instances for a top level acceleration structureTriangles
- Multiple triangle meshes for a bottom level acceleration structureAABBs
- List of list of axis aligned bounding boxes for a bottom level acceleration structure
Variants§
Instances(AccelerationStructureInstances<'a, B>)
Triangles(Vec<AccelerationStructureTriangles<'a, B>>)
AABBs(Vec<AccelerationStructureAABBs<'a, B>>)
Trait Implementations§
Auto Trait Implementations§
impl<'a, B: ?Sized> RefUnwindSafe for AccelerationStructureEntries<'a, B>where
B: RefUnwindSafe,
impl<'a, B: ?Sized> Send for AccelerationStructureEntries<'a, B>
impl<'a, B: ?Sized> Sync for AccelerationStructureEntries<'a, B>
impl<'a, B: ?Sized> Unpin for AccelerationStructureEntries<'a, B>
impl<'a, B: ?Sized> UnwindSafe for AccelerationStructureEntries<'a, B>where
B: RefUnwindSafe,
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