#[repr(transparent)]pub struct AccelerationStructureBuildSizesInfoKHRBuilder { /* private fields */ }
Expand description
A builder for a AccelerationStructureBuildSizesInfoKHR
.
Implementations§
source§impl AccelerationStructureBuildSizesInfoKHRBuilder
impl AccelerationStructureBuildSizesInfoKHRBuilder
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
pub fn build(self) -> AccelerationStructureBuildSizesInfoKHR
Trait Implementations§
source§impl Cast for AccelerationStructureBuildSizesInfoKHRBuilder
impl Cast for AccelerationStructureBuildSizesInfoKHRBuilder
§type Target = AccelerationStructureBuildSizesInfoKHR
type Target = AccelerationStructureBuildSizesInfoKHR
The other type this type can be used interchangeably with in FFI.
source§impl Clone for AccelerationStructureBuildSizesInfoKHRBuilder
impl Clone for AccelerationStructureBuildSizesInfoKHRBuilder
source§fn clone(&self) -> AccelerationStructureBuildSizesInfoKHRBuilder
fn clone(&self) -> AccelerationStructureBuildSizesInfoKHRBuilder
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 moresource§impl Default for AccelerationStructureBuildSizesInfoKHRBuilder
impl Default for AccelerationStructureBuildSizesInfoKHRBuilder
source§fn default() -> AccelerationStructureBuildSizesInfoKHRBuilder
fn default() -> AccelerationStructureBuildSizesInfoKHRBuilder
Returns the “default value” for a type. Read more
impl Copy for AccelerationStructureBuildSizesInfoKHRBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AccelerationStructureBuildSizesInfoKHRBuilder
impl !Send for AccelerationStructureBuildSizesInfoKHRBuilder
impl !Sync for AccelerationStructureBuildSizesInfoKHRBuilder
impl Unpin for AccelerationStructureBuildSizesInfoKHRBuilder
impl UnwindSafe for AccelerationStructureBuildSizesInfoKHRBuilder
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