Enum Class VulkanFormatData
- All Implemented Interfaces:
Serializable,Comparable<VulkanFormatData>,Constable
The type of data specified by a format.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionComponents are signed floating-point values.Components are unsigned floating-point values.Components are signed integer values.Components are unsigned integer values.Components are signed normalized fixed-point values.Components are unsigned normalized fixed-point values.Opaque or unknown data.Components are signed scaled values.Components are unsigned scaled values. -
Method Summary
Modifier and TypeMethodDescriptionstatic VulkanFormatDataReturns the enum constant of this class with the specified name.static VulkanFormatData[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORMAT_DATA_OPAQUE
Opaque or unknown data. -
FORMAT_DATA_FLOATING_POINT_SIGNED
Components are signed floating-point values. -
FORMAT_DATA_FLOATING_POINT_UNSIGNED
Components are unsigned floating-point values. -
FORMAT_DATA_INTEGER_SIGNED
Components are signed integer values. -
FORMAT_DATA_INTEGER_UNSIGNED
Components are unsigned integer values. -
FORMAT_DATA_NORMALIZED_FIXED_POINT_UNSIGNED
Components are unsigned normalized fixed-point values. -
FORMAT_DATA_NORMALIZED_FIXED_POINT_SIGNED
Components are signed normalized fixed-point values. -
FORMAT_DATA_SCALED_SIGNED
Components are signed scaled values. -
FORMAT_DATA_SCALED_UNSIGNED
Components are unsigned scaled 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
-