Enum VulkanShaderStageFlag

    • Enum Constant Detail

      • VK_SHADER_STAGE_VERTEX_BIT

        public static final VulkanShaderStageFlag VK_SHADER_STAGE_VERTEX_BIT
        The vertex stage.
      • VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT

        public static final VulkanShaderStageFlag VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
        The tessellation control stage.
      • VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT

        public static final VulkanShaderStageFlag VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
        The tessellation evaluation stage.
      • VK_SHADER_STAGE_GEOMETRY_BIT

        public static final VulkanShaderStageFlag VK_SHADER_STAGE_GEOMETRY_BIT
        The geometry stage.
      • VK_SHADER_STAGE_FRAGMENT_BIT

        public static final VulkanShaderStageFlag VK_SHADER_STAGE_FRAGMENT_BIT
        The fragment stage.
      • VK_SHADER_STAGE_COMPUTE_BIT

        public static final VulkanShaderStageFlag VK_SHADER_STAGE_COMPUTE_BIT
        The compute stage.
      • VK_SHADER_STAGE_ALL_GRAPHICS

        public static final VulkanShaderStageFlag VK_SHADER_STAGE_ALL_GRAPHICS
        A combination of bits used as shorthand to specify all graphics stages defined above (excluding the compute stage).
      • VK_SHADER_STAGE_ALL

        public static final VulkanShaderStageFlag VK_SHADER_STAGE_ALL
        A combination of bits used as shorthand to specify all shader stages supported by the device, including all additional stages which are introduced by extensions.
    • Method Detail

      • values

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

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