namespace Brutal.VulkanApi { /// /// VkCopyImageInfo2 - Structure specifying parameters of an image copy command /// /// /// /// :refpage: VkCopyImageInfo2 /// /// /// The VkCopyImageInfo2 structure is defined as: /// /// /// // Provided by VK_VERSION_1_3 /// typedef struct VkCopyImageInfo2 { /// VkStructureType sType; /// const void* pNext; /// VkImage srcImage; /// VkImageLayout srcImageLayout; /// VkImage dstImage; /// VkImageLayout dstImageLayout; /// uint32_t regionCount; /// const VkImageCopy2* pRegions; /// } VkCopyImageInfo2; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkCopyImageInfo2() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.CopyImageInfo2; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// SrcImage is the source image. /// [FieldOffset(16)] public VkImage SrcImage; /// /// SrcImageLayout is the current layout of the source image subresource. /// [FieldOffset(24)] public VkImageLayout SrcImageLayout; /// /// DstImage is the destination image. /// [FieldOffset(32)] public VkImage DstImage; /// /// DstImageLayout is the current layout of the destination image subresource. /// [FieldOffset(40)] public VkImageLayout DstImageLayout; /// /// RegionCount is the number of regions to copy. /// [FieldOffset(44)] public int RegionCount; /// /// Regions is a pointer to an array of VkImageCopy2 structures specifying the regions to copy. /// [FieldOffset(48)] public VkImageCopy2* Regions; } }