pub struct AccelerationStructureBuildRangeInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
impl<'a> AccelerationStructureBuildRangeInfoKHRBuilder<'a>
pub fn primitive_count(self, primitive_count: u32) -> Self
pub fn primitive_offset(self, primitive_offset: u32) -> Self
pub fn first_vertex(self, first_vertex: u32) -> Self
pub fn transform_offset(self, transform_offset: u32) -> Self
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>
Auto Trait Implementations§
impl<'a> Freeze for AccelerationStructureBuildRangeInfoKHRBuilder<'a>
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