namespace Brutal.VulkanApi { /// /// VkCopyImageToMemoryInfo - Structure specifying parameters of an image to host memory copy command /// /// /// /// :refpage: VkCopyImageToMemoryInfo /// :imageparam: srcImage /// :imagesubresource: imageSubresource /// :imageoffset: imageOffset /// :imageextent: imageExtent /// :bufferrowlength: memoryRowLength /// :bufferimageheight: memoryImageHeight /// /// /// The VkCopyImageToMemoryInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_4 /// typedef struct VkCopyImageToMemoryInfo { /// VkStructureType sType; /// const void* pNext; /// VkHostImageCopyFlags flags; /// VkImage srcImage; /// VkImageLayout srcImageLayout; /// uint32_t regionCount; /// const VkImageToMemoryCopy* pRegions; /// } VkCopyImageToMemoryInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkCopyImageToMemoryInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.CopyImageToMemoryInfo; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Flags is a bitmask of VkHostImageCopyFlags values describing additional copy parameters. /// [FieldOffset(16)] public VkHostImageCopyFlags Flags; /// /// SrcImage is the source image. /// [FieldOffset(24)] public VkImage SrcImage; /// /// SrcImageLayout is the layout of the source image subresources for the copy. /// [FieldOffset(32)] public VkImageLayout SrcImageLayout; /// /// RegionCount is the number of regions to copy. /// [FieldOffset(36)] public int RegionCount; /// /// Regions is a pointer to an array of VkImageToMemoryCopy structures specifying the regions to copy. /// [FieldOffset(40)] public VkImageToMemoryCopy* Regions; } }