namespace Brutal.VulkanApi { /// /// VkDeviceQueueInfo2 - Structure specifying the parameters used for device queue creation /// /// /// /// The VkDeviceQueueInfo2 structure is defined as: /// /// /// // Provided by VK_VERSION_1_1 /// typedef struct VkDeviceQueueInfo2 { /// VkStructureType sType; /// const void* pNext; /// VkDeviceQueueCreateFlags flags; /// uint32_t queueFamilyIndex; /// uint32_t queueIndex; /// } VkDeviceQueueInfo2; /// /// [StructLayout(LayoutKind.Explicit, Size = 32)] public unsafe partial struct VkDeviceQueueInfo2() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DeviceQueueInfo2; /// /// Next is `NULL` or a pointer to a structure extending this structure. The pNext chain of VkDeviceQueueInfo2 can be used to provide additional device queue parameters to vkGetDeviceQueue2. /// [FieldOffset(8)] public void* Next; /// /// Flags is a VkDeviceQueueCreateFlags value indicating the flags used to create the device queue. /// [FieldOffset(16)] public VkDeviceQueueCreateFlags Flags; /// /// QueueFamilyIndex is the index of the queue family to which the queue belongs. /// [FieldOffset(20)] public int QueueFamilyIndex; /// /// QueueIndex is the index of the queue to retrieve from within the set of queues that share both the queue family and flags specified. /// [FieldOffset(24)] public int QueueIndex; } }