pub struct AccelerationStructureBuildGeometryInfoKHRBuilder<'a> { /* private fields */ }Expand description
Builder for AccelerationStructureBuildGeometryInfoKHR with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
impl<'a> AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
pub fn type(self, value: AccelerationStructureTypeKHR) -> Self
pub fn flags(self, value: BuildAccelerationStructureFlagsKHR) -> Self
pub fn mode(self, value: BuildAccelerationStructureModeKHR) -> Self
pub fn src_acceleration_structure(self, value: AccelerationStructureKHR) -> Self
pub fn dst_acceleration_structure(self, value: AccelerationStructureKHR) -> Self
pub fn geometry_count(self, value: u32) -> Self
pub fn geometries(self, slice: &'a [AccelerationStructureGeometryKHR]) -> Self
pub fn pp_geometries( self, value: *const *const AccelerationStructureGeometryKHR, ) -> Self
pub fn scratch_data(self, value: DeviceOrHostAddressKHR) -> Self
Sourcepub fn push_next<T: ExtendsAccelerationStructureBuildGeometryInfoKHR>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsAccelerationStructureBuildGeometryInfoKHR>( self, next: &'a mut T, ) -> Self
Prepend a struct to the pNext chain. See AccelerationStructureBuildGeometryInfoKHR’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
impl<'a> Deref for AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
impl<'a> !Send for AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
impl<'a> !Sync for AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
impl<'a> Unpin for AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
impl<'a> UnsafeUnpin for AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
impl<'a> UnwindSafe for AccelerationStructureBuildGeometryInfoKHRBuilder<'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