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