pub struct GetAccelerationStructureBuildSizesDescriptor<'a, B: DynBuffer + ?Sized> {
pub entries: &'a AccelerationStructureEntries<'a, B>,
pub flags: AccelerationStructureBuildFlags,
}
Expand description
- All buffers, buffer addresses and offsets will be ignored.
- The build mode will be ignored.
- Reducing the amount of Instances, Triangle groups or AABB groups (or the number of Triangles/AABBs in corresponding groups), may result in reduced size requirements.
- Any other change may result in a bigger or smaller size requirement.
Fields§
§entries: &'a AccelerationStructureEntries<'a, B>
§flags: AccelerationStructureBuildFlags
Trait Implementations§
Source§impl<'a, B: Clone + DynBuffer + ?Sized> Clone for GetAccelerationStructureBuildSizesDescriptor<'a, B>
impl<'a, B: Clone + DynBuffer + ?Sized> Clone for GetAccelerationStructureBuildSizesDescriptor<'a, B>
Source§fn clone(&self) -> GetAccelerationStructureBuildSizesDescriptor<'a, B>
fn clone(&self) -> GetAccelerationStructureBuildSizesDescriptor<'a, B>
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 moreAuto Trait Implementations§
impl<'a, B> Freeze for GetAccelerationStructureBuildSizesDescriptor<'a, B>where
B: ?Sized,
impl<'a, B> RefUnwindSafe for GetAccelerationStructureBuildSizesDescriptor<'a, B>where
B: RefUnwindSafe + ?Sized,
impl<'a, B> Send for GetAccelerationStructureBuildSizesDescriptor<'a, B>
impl<'a, B> Sync for GetAccelerationStructureBuildSizesDescriptor<'a, B>
impl<'a, B> Unpin for GetAccelerationStructureBuildSizesDescriptor<'a, B>where
B: ?Sized,
impl<'a, B> UnwindSafe for GetAccelerationStructureBuildSizesDescriptor<'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