pub struct AccelerationStructureBuildSizesInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> AccelerationStructureBuildSizesInfoKHRBuilder<'a>
impl<'a> AccelerationStructureBuildSizesInfoKHRBuilder<'a>
pub fn acceleration_structure_size( self, acceleration_structure_size: DeviceSize ) -> Self
pub fn update_scratch_size(self, update_scratch_size: DeviceSize) -> Self
pub fn build_scratch_size(self, build_scratch_size: DeviceSize) -> Self
sourcepub fn build(self) -> AccelerationStructureBuildSizesInfoKHR
pub fn build(self) -> AccelerationStructureBuildSizesInfoKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for AccelerationStructureBuildSizesInfoKHRBuilder<'a>
impl<'a> Deref for AccelerationStructureBuildSizesInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for AccelerationStructureBuildSizesInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for AccelerationStructureBuildSizesInfoKHRBuilder<'a>
impl<'a> !Send for AccelerationStructureBuildSizesInfoKHRBuilder<'a>
impl<'a> !Sync for AccelerationStructureBuildSizesInfoKHRBuilder<'a>
impl<'a> Unpin for AccelerationStructureBuildSizesInfoKHRBuilder<'a>
impl<'a> UnwindSafe for AccelerationStructureBuildSizesInfoKHRBuilder<'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