Enum VulkanDescriptorPoolCreateFlag

    • Enum Constant Detail

      • VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT

        public static final VulkanDescriptorPoolCreateFlag VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT
        Specifies that descriptor sets can return their individual allocations to the pool, i.e. all of vkAllocateDescriptorSets, vkFreeDescriptorSets, and vkResetDescriptorPool are allowed. Otherwise, descriptor sets allocated from the pool must not be individually freed back to the pool, i.e. only vkAllocateDescriptorSets and vkResetDescriptorPool are allowed.
    • Method Detail

      • values

        public static VulkanDescriptorPoolCreateFlag[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (VulkanDescriptorPoolCreateFlag c : VulkanDescriptorPoolCreateFlag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VulkanDescriptorPoolCreateFlag valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null