namespace Brutal.VulkanApi { /// /// VkCopyMemoryToImageInfo - Structure specifying parameters of host memory to image copy command /// /// /// /// :refpage: VkCopyMemoryToImageInfo /// :imageparam: dstImage /// :imagesubresource: imageSubresource /// :imageoffset: imageOffset /// :imageextent: imageExtent /// :bufferrowlength: memoryRowLength /// :bufferimageheight: memoryImageHeight /// /// /// The VkCopyMemoryToImageInfo structure is defined as: /// /// /// // Provided by VK_VERSION_1_4 /// typedef struct VkCopyMemoryToImageInfo { /// VkStructureType sType; /// const void* pNext; /// VkHostImageCopyFlags flags; /// VkImage dstImage; /// VkImageLayout dstImageLayout; /// uint32_t regionCount; /// const VkMemoryToImageCopy* pRegions; /// } VkCopyMemoryToImageInfo; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkCopyMemoryToImageInfo() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.CopyMemoryToImageInfo; /// /// 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; /// /// DstImage is the destination image. /// [FieldOffset(24)] public VkImage DstImage; /// /// DstImageLayout is the layout of the destination image subresources for the copy. /// [FieldOffset(32)] public VkImageLayout DstImageLayout; /// /// RegionCount is the number of regions to copy. /// [FieldOffset(36)] public int RegionCount; /// /// Regions is a pointer to an array of VkMemoryToImageCopy structures specifying the regions to copy. /// [FieldOffset(40)] public VkMemoryToImageCopy* Regions; } }