namespace Brutal.VulkanApi
{
///
/// VkImageCopy - Structure specifying an image copy operation
///
///
///
/// :refpage: VkImageCopy
///
///
/// The VkImageCopy structure is defined as:
///
///
/// // Provided by VK_VERSION_1_0
/// typedef struct VkImageCopy {
/// VkImageSubresourceLayers srcSubresource;
/// VkOffset3D srcOffset;
/// VkImageSubresourceLayers dstSubresource;
/// VkOffset3D dstOffset;
/// VkExtent3D extent;
/// } VkImageCopy;
///
///
[StructLayout(LayoutKind.Explicit, Size = 68)]
public partial struct VkImageCopy()
{
///
/// SrcSubresource and dstSubresource are VkImageSubresourceLayers structures specifying the image subresources of the images used for the source and destination image data, respectively.
///
[FieldOffset(0)]
public VkImageSubresourceLayers SrcSubresource;
///
/// SrcOffset and dstOffset select the initial x, y, and z offsets in texels of the sub-regions of the source and destination image data.
///
[FieldOffset(16)]
public VkOffset3D SrcOffset;
///
/// DstSubresource
///
[FieldOffset(28)]
public VkImageSubresourceLayers DstSubresource;
///
/// DstOffset
///
[FieldOffset(44)]
public VkOffset3D DstOffset;
///
/// Extent is the size in texels of the image to copy in width, height and depth.
///
[FieldOffset(56)]
public VkExtent3D Extent;
}
}