pub struct AccelerationStructureBuildGeometryInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
impl<'a> AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
pub fn ty(self, ty: AccelerationStructureTypeKHR) -> Self
pub fn flags(self, flags: BuildAccelerationStructureFlagsKHR) -> Self
pub fn mode(self, mode: BuildAccelerationStructureModeKHR) -> Self
pub fn src_acceleration_structure( self, src_acceleration_structure: AccelerationStructureKHR ) -> Self
pub fn dst_acceleration_structure( self, dst_acceleration_structure: AccelerationStructureKHR ) -> Self
pub fn geometries( self, geometries: &'a [AccelerationStructureGeometryKHR] ) -> Self
pub fn geometries_ptrs( self, geometries_ptrs: &'a [&'a AccelerationStructureGeometryKHR] ) -> Self
pub fn scratch_data(self, scratch_data: DeviceOrHostAddressKHR) -> Self
sourcepub fn build(self) -> AccelerationStructureBuildGeometryInfoKHR
pub fn build(self) -> AccelerationStructureBuildGeometryInfoKHR
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 AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
impl<'a> Deref for AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
Auto Trait Implementations§
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> 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