using System.Runtime.Versioning;
namespace Brutal.VulkanApi.Metal
{
///
/// VkExportMetalCommandQueueInfoEXT - Structure that identifies a VkQueue object and corresponding Metal MTLCommandQueue object
///
///
///
/// To export the Metal MTLCommandQueue object underlying a VkQueue
/// object, include a VkExportMetalCommandQueueInfoEXT structure in the
/// pNext chain of the pMetalObjectsInfo parameter of a
/// vkExportMetalObjectsEXT call.
///
///
/// The VkExportMetalCommandQueueInfoEXT structure is defined as:
///
///
/// // Provided by VK_EXT_metal_objects
/// typedef struct VkExportMetalCommandQueueInfoEXT {
/// VkStructureType sType;
/// const void* pNext;
/// VkQueue queue;
/// MTLCommandQueue_id mtlCommandQueue;
/// } VkExportMetalCommandQueueInfoEXT;
///
///
[StructLayout(LayoutKind.Explicit, Size = 32)]
[SupportedOSPlatform("macos"), SupportedOSPlatform("ios")]
public unsafe partial struct VkExportMetalCommandQueueInfoEXT()
{
///
/// sType is a VkStructureType value identifying this structure.
///
[FieldOffset(0)]
internal readonly VkStructureType sType = VkStructureType.ExportMetalCommandQueueInfoEXT;
///
/// Next is `NULL` or a pointer to a structure extending this structure.
///
[FieldOffset(8)]
public void* Next;
///
/// Queue is a VkQueue.
///
[FieldOffset(16)]
public VkQueue Queue;
///
/// MtlCommandQueue is the Metal `id<MTLCommandQueue>` object underlying the VkQueue object in queue. The implementation will return the MTLCommandQueue in this member, or it will return `NULL` if no MTLCommandQueue could be found underlying the VkQueue object.
///
[FieldOffset(24)]
public nint MtlCommandQueue;
}
}