#[repr(transparent)]pub struct AccelerationStructureBuildGeometryInfoKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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: &'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
sourceimpl<'a> Deref for AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
impl<'a> Deref for AccelerationStructureBuildGeometryInfoKHRBuilder<'a>
type Target = AccelerationStructureBuildGeometryInfoKHR
type Target = AccelerationStructureBuildGeometryInfoKHR
The resulting type after dereferencing.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more