Enum Class VulkanPipelineCreateFlag

java.lang.Object
java.lang.Enum<VulkanPipelineCreateFlag>
com.io7m.jcoronado.api.VulkanPipelineCreateFlag
All Implemented Interfaces:
VulkanEnumBitmaskType, Serializable, Comparable<VulkanPipelineCreateFlag>, Constable

public enum VulkanPipelineCreateFlag extends Enum<VulkanPipelineCreateFlag> implements VulkanEnumBitmaskType
Bitmask controlling how a pipeline is created.
See Also:
  • "VkPipelineCreateFlagBits"
  • Enum Constant Details

    • 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 Details

    • values

      public static VulkanPipelineCreateFlag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static VulkanPipelineCreateFlag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public int value()
      Specified by:
      value in interface VulkanEnumBitmaskType
      Returns:
      The integer value of the constant