Class VkDeviceQueueCreateInfo

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkDeviceQueueCreateInfo
    extends Struct
    implements NativeResource
    Structure specifying parameters of a newly created device queue.
    Valid Usage
    Valid Usage (Implicit)
    See Also

    VkDeviceCreateInfo

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • flags – a bitmask indicating behavior of the queue.
    • queueFamilyIndex – an unsigned integer indicating the index of the queue family to create on this device. This index corresponds to the index of an element of the pQueueFamilyProperties array that was returned by GetPhysicalDeviceQueueFamilyProperties.
    • queueCount – an unsigned integer specifying the number of queues to create in the queue family indicated by queueFamilyIndex.
    • pQueuePriorities – an array of queueCount normalized floating point values, specifying priorities of work that will be submitted to each created queue. See Queue Priority for more information.

    Layout

    
     struct VkDeviceQueueCreateInfo {
         VkStructureType sType;
         void const * pNext;
         VkDeviceQueueCreateFlags flags;
         uint32_t queueFamilyIndex;
         uint32_t queueCount;
         float const * pQueuePriorities;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, FLAGS, QUEUEFAMILYINDEX, QUEUECOUNT, PQUEUEPRIORITIES

        The struct member offsets.
    • Constructor Detail

      • VkDeviceQueueCreateInfo

        public VkDeviceQueueCreateInfo​(java.nio.ByteBuffer container)
        Creates a VkDeviceQueueCreateInfo instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.