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>where
B: ?Sized,
impl<'a, B> Sync for GetAccelerationStructureBuildSizesDescriptor<'a, B>where
B: ?Sized,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)