namespace Brutal.VulkanApi { /// /// VkCopyImageToBufferInfo2 - Structure specifying parameters of an image to buffer copy command /// /// /// /// :refpage: VkCopyImageToBufferInfo2 /// /// /// The VkCopyImageToBufferInfo2 structure is defined as: /// /// /// // Provided by VK_VERSION_1_3 /// typedef struct VkCopyImageToBufferInfo2 { /// VkStructureType sType; /// const void* pNext; /// VkImage srcImage; /// VkImageLayout srcImageLayout; /// VkBuffer dstBuffer; /// uint32_t regionCount; /// const VkBufferImageCopy2* pRegions; /// } VkCopyImageToBufferInfo2; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkCopyImageToBufferInfo2() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.CopyImageToBufferInfo2; /// /// 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 layout of the source image subresources for the copy. /// [FieldOffset(24)] public VkImageLayout SrcImageLayout; /// /// DstBuffer is the destination buffer. /// [FieldOffset(32)] public VkBuffer DstBuffer; /// /// RegionCount is the number of regions to copy. /// [FieldOffset(40)] public int RegionCount; /// /// Regions is a pointer to an array of VkBufferImageCopy2 structures specifying the regions to copy. /// [FieldOffset(48)] public VkBufferImageCopy2* Regions; } }