pub struct ImageCopy<'a> {
pub src_subresource: ImageSubresourceLayers,
pub src_offset: [u32; 3],
pub dst_subresource: ImageSubresourceLayers,
pub dst_offset: [u32; 3],
pub extent: [u32; 3],
pub _ne: NonExhaustive<'a>,
}Expand description
A region of data to copy between images.
Fields§
§src_subresource: ImageSubresourceLayersThe subresource of src_image to copy from.
The default value is empty, which must be overridden.
src_offset: [u32; 3]The offset from the zero coordinate of src_image that copying will start from.
The default value is [0; 3].
dst_subresource: ImageSubresourceLayersThe subresource of dst_image to copy to.
The default value is empty, which must be overridden.
dst_offset: [u32; 3]The offset from the zero coordinate of dst_image that copying will start from.
The default value is [0; 3].
extent: [u32; 3]The extent of texels to copy.
The default value is [0; 3], which must be overridden.
_ne: NonExhaustive<'a>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ImageCopy<'a>
impl<'a> RefUnwindSafe for ImageCopy<'a>
impl<'a> Send for ImageCopy<'a>
impl<'a> Sync for ImageCopy<'a>
impl<'a> Unpin for ImageCopy<'a>
impl<'a> UnwindSafe for ImageCopy<'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