pub struct ImageCopy {
pub src: ImageHandle,
pub src_subresource: ImageSubresourceLayers,
pub src_offset: Offset3d,
pub dst: ImageHandle,
pub dst_subresource: ImageSubresourceLayers,
pub dst_offset: Offset3d,
pub extent: Extent3d,
}Expand description
An image-to-image copy region.
Fields§
§src: ImageHandleSource image.
src_subresource: ImageSubresourceLayersSource mip level and layers.
src_offset: Offset3dSource texel offset.
dst: ImageHandleDestination image.
dst_subresource: ImageSubresourceLayersDestination mip level and layers.
dst_offset: Offset3dDestination texel offset.
extent: Extent3dRegion size in texels.
Trait Implementations§
impl Copy for ImageCopy
impl Eq for ImageCopy
impl StructuralPartialEq for ImageCopy
Auto Trait Implementations§
impl Freeze for ImageCopy
impl RefUnwindSafe for ImageCopy
impl Send for ImageCopy
impl Sync for ImageCopy
impl Unpin for ImageCopy
impl UnsafeUnpin for ImageCopy
impl UnwindSafe for ImageCopy
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