Enum VulkanPipelineCreateFlag

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT
      VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT specifies that the pipeline to be created is allowed to be the parent of a pipeline that will be created in a subsequent call to vkCreateGraphicsPipelines or vkCreateComputePipelines.
      VK_PIPELINE_CREATE_DERIVATIVE_BIT
      VK_PIPELINE_CREATE_DERIVATIVE_BIT specifies that the pipeline to be created will be a child of a previously created parent pipeline.
      VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT
      VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT specifies that the created pipeline will not be optimized.
      VK_PIPELINE_CREATE_DISPATCH_BASE
      VK_PIPELINE_CREATE_DISPATCH_BASE specifies that a compute pipeline can be used with vkCmdDispatchBase with a non-zero base workgroup.
      VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT
      VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT specifies that any shader input variables decorated as ViewIndex will be assigned values as if they were decorated as DeviceIndex.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int value()  
      static VulkanPipelineCreateFlag valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static VulkanPipelineCreateFlag[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT

        public static final VulkanPipelineCreateFlag VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT
        VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT specifies that the created pipeline will not be optimized. Using this flag may reduce the time taken to create the pipeline.
      • VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT

        public static final VulkanPipelineCreateFlag VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT
        VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT specifies that the pipeline to be created is allowed to be the parent of a pipeline that will be created in a subsequent call to vkCreateGraphicsPipelines or vkCreateComputePipelines.
      • VK_PIPELINE_CREATE_DERIVATIVE_BIT

        public static final VulkanPipelineCreateFlag VK_PIPELINE_CREATE_DERIVATIVE_BIT
        VK_PIPELINE_CREATE_DERIVATIVE_BIT specifies that the pipeline to be created will be a child of a previously created parent pipeline.
      • VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT

        public static final VulkanPipelineCreateFlag VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT
        VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT specifies that any shader input variables decorated as ViewIndex will be assigned values as if they were decorated as DeviceIndex.
      • VK_PIPELINE_CREATE_DISPATCH_BASE

        public static final VulkanPipelineCreateFlag VK_PIPELINE_CREATE_DISPATCH_BASE
        VK_PIPELINE_CREATE_DISPATCH_BASE specifies that a compute pipeline can be used with vkCmdDispatchBase with a non-zero base workgroup.
    • Method Detail

      • values

        public static VulkanPipelineCreateFlag[] 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 (VulkanPipelineCreateFlag c : VulkanPipelineCreateFlag.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static VulkanPipelineCreateFlag 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