Enum Class VulkanResolveModeFlag
- All Implemented Interfaces:
VulkanEnumBitmaskType, Serializable, Comparable<VulkanResolveModeFlag>, Constable
public enum VulkanResolveModeFlag
extends Enum<VulkanResolveModeFlag>
implements VulkanEnumBitmaskType
Bitmask indicating supported depth and stencil resolve modes.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies that result of the resolve operation is the average of the sample values.Specifies that result of the resolve operation is the maximum of the sample values.Specifies that result of the resolve operation is the minimum of the sample values.Specifies that no resolve operation is done.Specifies that result of the resolve operation is equal to the value of sample 0. -
Method Summary
Modifier and TypeMethodDescriptionintvalue()static VulkanResolveModeFlagReturns the enum constant of this class with the specified name.static VulkanResolveModeFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VK_RESOLVE_MODE_NONE
Specifies that no resolve operation is done. -
VK_RESOLVE_MODE_SAMPLE_ZERO
Specifies that result of the resolve operation is equal to the value of sample 0. -
VK_RESOLVE_MODE_AVERAGE
Specifies that result of the resolve operation is the average of the sample values. -
VK_RESOLVE_MODE_MIN
Specifies that result of the resolve operation is the minimum of the sample values. -
VK_RESOLVE_MODE_MAX
Specifies that result of the resolve operation is the maximum of the sample values.
-
-
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
-