#[repr(C)]pub struct CopyMemoryToAccelerationStructureInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src: DeviceOrHostAddressConstKHR,
pub dst: AccelerationStructureKHR,
pub mode: CopyAccelerationStructureModeKHR,
}Expand description
VkCopyMemoryToAccelerationStructureInfoKHR
Provided by VK_KHR_acceleration_structure.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR.
p_next: *const c_voidOptional, may be null.
src: DeviceOrHostAddressConstKHR§dst: AccelerationStructureKHR§mode: CopyAccelerationStructureModeKHRImplementations§
Source§impl CopyMemoryToAccelerationStructureInfoKHR
impl CopyMemoryToAccelerationStructureInfoKHR
Sourcepub fn builder<'a>() -> CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
pub fn builder<'a>() -> CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for CopyMemoryToAccelerationStructureInfoKHR
impl Clone for CopyMemoryToAccelerationStructureInfoKHR
Source§fn clone(&self) -> CopyMemoryToAccelerationStructureInfoKHR
fn clone(&self) -> CopyMemoryToAccelerationStructureInfoKHR
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CopyMemoryToAccelerationStructureInfoKHR
Auto Trait Implementations§
impl Freeze for CopyMemoryToAccelerationStructureInfoKHR
impl RefUnwindSafe for CopyMemoryToAccelerationStructureInfoKHR
impl !Send for CopyMemoryToAccelerationStructureInfoKHR
impl !Sync for CopyMemoryToAccelerationStructureInfoKHR
impl Unpin for CopyMemoryToAccelerationStructureInfoKHR
impl UnsafeUnpin for CopyMemoryToAccelerationStructureInfoKHR
impl UnwindSafe for CopyMemoryToAccelerationStructureInfoKHR
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