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> Freeze for AccelerationStructureEntries<'a, B>where
B: ?Sized,
impl<'a, B> RefUnwindSafe for AccelerationStructureEntries<'a, B>where
B: RefUnwindSafe + ?Sized,
impl<'a, B> Send for AccelerationStructureEntries<'a, B>where
B: ?Sized,
impl<'a, B> Sync for AccelerationStructureEntries<'a, B>where
B: ?Sized,
impl<'a, B> Unpin for AccelerationStructureEntries<'a, B>where
B: ?Sized,
impl<'a, B> UnwindSafe for AccelerationStructureEntries<'a, B>where
B: RefUnwindSafe + ?Sized,
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