pub struct CopyMemoryToAccelerationStructureInfoKHRBuilder<'a> { /* private fields */ }Implementations§
source§impl<'a> CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
impl<'a> CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
pub fn src(
self,
src: DeviceOrHostAddressConstKHR
) -> CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
pub fn dst(
self,
dst: AccelerationStructureKHR
) -> CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
pub fn mode(
self,
mode: CopyAccelerationStructureModeKHR
) -> CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
sourcepub fn build(self) -> CopyMemoryToAccelerationStructureInfoKHR
pub fn build(self) -> CopyMemoryToAccelerationStructureInfoKHR
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 CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
impl<'a> Deref for CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
§type Target = CopyMemoryToAccelerationStructureInfoKHR
type Target = CopyMemoryToAccelerationStructureInfoKHR
The resulting type after dereferencing.