Class VkCommandPoolCreateInfo

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

    public class VkCommandPoolCreateInfo
    extends Struct
    implements NativeResource
    Structure specifying parameters of a newly created command pool.
    Valid Usage (Implicit)
    See Also

    CreateCommandPool

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • flags – a bitmask of VkCommandPoolCreateFlagBits indicating usage behavior for the pool and command buffers allocated from it.
    • queueFamilyIndex – designates a queue family as described in section Queue Family Properties. All command buffers allocated from this command pool must be submitted on queues from the same queue family.

    Layout

    
     struct VkCommandPoolCreateInfo {
         VkStructureType sType;
         void const * pNext;
         VkCommandPoolCreateFlags flags;
         uint32_t queueFamilyIndex;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

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

        The struct member offsets.
    • Constructor Detail

      • VkCommandPoolCreateInfo

        public VkCommandPoolCreateInfo​(java.nio.ByteBuffer container)
        Creates a VkCommandPoolCreateInfo 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.