pub struct AccelerationStructureBuildRangeInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
impl<'a> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
pub fn primitive_count( self, primitive_count: u32 ) -> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
pub fn primitive_offset( self, primitive_offset: u32 ) -> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
pub fn first_vertex( self, first_vertex: u32 ) -> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
pub fn transform_offset( self, transform_offset: u32 ) -> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
sourcepub fn build(self) -> AccelerationStructureBuildRangeInfoKHR
pub fn build(self) -> AccelerationStructureBuildRangeInfoKHR
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 AccelerationStructureBuildRangeInfoKHRBuilder<'a>
impl<'a> Deref for AccelerationStructureBuildRangeInfoKHRBuilder<'a>
§type Target = AccelerationStructureBuildRangeInfoKHR
type Target = AccelerationStructureBuildRangeInfoKHR
The resulting type after dereferencing.
source§impl<'a> DerefMut for AccelerationStructureBuildRangeInfoKHRBuilder<'a>
impl<'a> DerefMut for AccelerationStructureBuildRangeInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AccelerationStructureBuildRangeInfoKHRBuilder<'a>
impl<'a> Send for AccelerationStructureBuildRangeInfoKHRBuilder<'a>
impl<'a> Sync for AccelerationStructureBuildRangeInfoKHRBuilder<'a>
impl<'a> Unpin for AccelerationStructureBuildRangeInfoKHRBuilder<'a>
impl<'a> UnwindSafe for AccelerationStructureBuildRangeInfoKHRBuilder<'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