#[repr(C)]pub struct CopyMemoryToImageIndirectCommandKHR {
pub src_address: DeviceAddress,
pub buffer_row_length: u32,
pub buffer_image_height: u32,
pub image_subresource: ImageSubresourceLayers,
pub image_offset: Offset3D,
pub image_extent: Extent3D,
}Expand description
Native structure VkCopyMemoryToImageIndirectCommandKHR.
Fields§
§src_address: DeviceAddressNative field srcAddress.
buffer_row_length: u32Native field bufferRowLength.
buffer_image_height: u32Native field bufferImageHeight.
image_subresource: ImageSubresourceLayersNative field imageSubresource.
image_offset: Offset3DNative field imageOffset.
image_extent: Extent3DNative field imageExtent.
Implementations§
Source§impl CopyMemoryToImageIndirectCommandKHR
impl CopyMemoryToImageIndirectCommandKHR
Sourcepub fn set_src_address(self, value: DeviceAddress) -> Self
pub fn set_src_address(self, value: DeviceAddress) -> Self
Set native field srcAddress without native effects.
Sourcepub fn set_buffer_row_length(self, value: u32) -> Self
pub fn set_buffer_row_length(self, value: u32) -> Self
Set native field bufferRowLength without native effects.
Sourcepub fn set_buffer_image_height(self, value: u32) -> Self
pub fn set_buffer_image_height(self, value: u32) -> Self
Set native field bufferImageHeight without native effects.
Sourcepub fn set_image_subresource(self, value: ImageSubresourceLayers) -> Self
pub fn set_image_subresource(self, value: ImageSubresourceLayers) -> Self
Set native field imageSubresource without native effects.
Sourcepub fn set_image_offset(self, value: Offset3D) -> Self
pub fn set_image_offset(self, value: Offset3D) -> Self
Set native field imageOffset without native effects.
Sourcepub fn set_image_extent(self, value: Extent3D) -> Self
pub fn set_image_extent(self, value: Extent3D) -> Self
Set native field imageExtent without native effects.
Trait Implementations§
impl Copy for CopyMemoryToImageIndirectCommandKHR
Auto Trait Implementations§
impl Forget for CopyMemoryToImageIndirectCommandKHR
impl Freeze for CopyMemoryToImageIndirectCommandKHR
impl Move for CopyMemoryToImageIndirectCommandKHR
impl RefUnwindSafe for CopyMemoryToImageIndirectCommandKHR
impl Send for CopyMemoryToImageIndirectCommandKHR
impl Sync for CopyMemoryToImageIndirectCommandKHR
impl Unpin for CopyMemoryToImageIndirectCommandKHR
impl UnsafeUnpin for CopyMemoryToImageIndirectCommandKHR
impl UnwindSafe for CopyMemoryToImageIndirectCommandKHR
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