Enum Class VulkanShaderStageFlag
- All Implemented Interfaces:
VulkanEnumBitmaskType,Serializable,Comparable<VulkanShaderStageFlag>,Constable
public enum VulkanShaderStageFlag
extends Enum<VulkanShaderStageFlag>
implements VulkanEnumBitmaskType
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA combination of bits used as shorthand to specify all shader stages supported by the device, including all additional stages which are introduced by extensions.A combination of bits used as shorthand to specify all graphics stages defined above (excluding the compute stage).The compute stage.The fragment stage.The geometry stage.The tessellation control stage.The tessellation evaluation stage.The vertex stage. -
Method Summary
Modifier and TypeMethodDescriptionintvalue()static VulkanShaderStageFlagReturns the enum constant of this class with the specified name.static VulkanShaderStageFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VK_SHADER_STAGE_VERTEX_BIT
The vertex stage. -
VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT
The tessellation control stage. -
VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT
The tessellation evaluation stage. -
VK_SHADER_STAGE_GEOMETRY_BIT
The geometry stage. -
VK_SHADER_STAGE_FRAGMENT_BIT
The fragment stage. -
VK_SHADER_STAGE_COMPUTE_BIT
The compute stage. -
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
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 Details
-
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
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 nameNullPointerException- if the argument is null
-
value
public int value()- Specified by:
valuein interfaceVulkanEnumBitmaskType- Returns:
- The integer value of the constant
-