namespace Brutal.VulkanApi
{
///
/// VkCopyBufferToImageInfo2 - Structure specifying parameters of a buffer to image copy command
///
///
///
/// :refpage: VkCopyBufferToImageInfo2
///
///
/// The VkCopyBufferToImageInfo2 structure is defined as:
///
///
/// // Provided by VK_VERSION_1_3
/// typedef struct VkCopyBufferToImageInfo2 {
/// VkStructureType sType;
/// const void* pNext;
/// VkBuffer srcBuffer;
/// VkImage dstImage;
/// VkImageLayout dstImageLayout;
/// uint32_t regionCount;
/// const VkBufferImageCopy2* pRegions;
/// } VkCopyBufferToImageInfo2;
///
///
[StructLayout(LayoutKind.Explicit, Size = 48)]
public unsafe partial struct VkCopyBufferToImageInfo2()
{
///
/// sType is a VkStructureType value identifying this structure.
///
[FieldOffset(0)]
internal readonly VkStructureType sType = VkStructureType.CopyBufferToImageInfo2;
///
/// Next is `NULL` or a pointer to a structure extending this structure.
///
[FieldOffset(8)]
public void* Next;
///
/// SrcBuffer is the source buffer.
///
[FieldOffset(16)]
public VkBuffer SrcBuffer;
///
/// 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 VkBufferImageCopy2 structures specifying the regions to copy.
///
[FieldOffset(40)]
public VkBufferImageCopy2* Regions;
}
}