pub enum AccelerationStructureEntries<'a, A: Api> {
Instances(AccelerationStructureInstances<'a, A>),
Triangles(Vec<AccelerationStructureTriangles<'a, A>>),
AABBs(Vec<AccelerationStructureAABBs<'a, A>>),
}
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, A>)
Triangles(Vec<AccelerationStructureTriangles<'a, A>>)
AABBs(Vec<AccelerationStructureAABBs<'a, A>>)
Trait Implementations§
Auto Trait Implementations§
impl<'a, A> RefUnwindSafe for AccelerationStructureEntries<'a, A>
impl<'a, A> Send for AccelerationStructureEntries<'a, A>
impl<'a, A> Sync for AccelerationStructureEntries<'a, A>
impl<'a, A> Unpin for AccelerationStructureEntries<'a, A>
impl<'a, A> UnwindSafe for AccelerationStructureEntries<'a, A>
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