namespace Brutal.VulkanApi
{
///
/// VkDeviceGroupBindSparseInfo - Structure indicating which instances are bound
///
///
///
/// If the pNext chain of VkBindSparseInfo includes a
/// VkDeviceGroupBindSparseInfo structure, then that structure includes
/// device indices specifying which instance of the resources and memory are
/// bound.
///
///
/// The VkDeviceGroupBindSparseInfo structure is defined as:
///
///
/// // Provided by VK_VERSION_1_1
/// typedef struct VkDeviceGroupBindSparseInfo {
/// VkStructureType sType;
/// const void* pNext;
/// uint32_t resourceDeviceIndex;
/// uint32_t memoryDeviceIndex;
/// } VkDeviceGroupBindSparseInfo;
///
///
[StructLayout(LayoutKind.Explicit, Size = 24)]
public unsafe partial struct VkDeviceGroupBindSparseInfo()
{
///
/// sType is a VkStructureType value identifying this structure.
///
[FieldOffset(0)]
internal readonly VkStructureType sType = VkStructureType.DeviceGroupBindSparseInfo;
///
/// Next is `NULL` or a pointer to a structure extending this structure.
///
[FieldOffset(8)]
public void* Next;
///
/// ResourceDeviceIndex is a device index indicating which instance of the resource is bound.
///
[FieldOffset(16)]
public int ResourceDeviceIndex;
///
/// MemoryDeviceIndex is a device index indicating which instance of the memory the resource instance is bound to.
///
[FieldOffset(20)]
public int MemoryDeviceIndex;
}
}