Package org.robovm.apple.metal
Enum MTLAttributeFormat
- java.lang.Object
-
- java.lang.Enum<MTLAttributeFormat>
-
- org.robovm.apple.metal.MTLAttributeFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MTLAttributeFormat>
,org.robovm.rt.bro.ValuedEnum
public enum MTLAttributeFormat extends java.lang.Enum<MTLAttributeFormat> implements org.robovm.rt.bro.ValuedEnum
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.robovm.rt.bro.ValuedEnum
org.robovm.rt.bro.ValuedEnum.AsLongMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedSIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedUIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedShortMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedShortMarshaler
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
value()
static MTLAttributeFormat
valueOf(long n)
Returns the enum constant of this type with the specified name.static MTLAttributeFormat
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MTLAttributeFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Invalid
public static final MTLAttributeFormat Invalid
-
UChar2
public static final MTLAttributeFormat UChar2
-
UChar3
public static final MTLAttributeFormat UChar3
-
UChar4
public static final MTLAttributeFormat UChar4
-
Char2
public static final MTLAttributeFormat Char2
-
Char3
public static final MTLAttributeFormat Char3
-
Char4
public static final MTLAttributeFormat Char4
-
UChar2Normalized
public static final MTLAttributeFormat UChar2Normalized
-
UChar3Normalized
public static final MTLAttributeFormat UChar3Normalized
-
UChar4Normalized
public static final MTLAttributeFormat UChar4Normalized
-
Char2Normalized
public static final MTLAttributeFormat Char2Normalized
-
Char3Normalized
public static final MTLAttributeFormat Char3Normalized
-
Char4Normalized
public static final MTLAttributeFormat Char4Normalized
-
UShort2
public static final MTLAttributeFormat UShort2
-
UShort3
public static final MTLAttributeFormat UShort3
-
UShort4
public static final MTLAttributeFormat UShort4
-
Short2
public static final MTLAttributeFormat Short2
-
Short3
public static final MTLAttributeFormat Short3
-
Short4
public static final MTLAttributeFormat Short4
-
UShort2Normalized
public static final MTLAttributeFormat UShort2Normalized
-
UShort3Normalized
public static final MTLAttributeFormat UShort3Normalized
-
UShort4Normalized
public static final MTLAttributeFormat UShort4Normalized
-
Short2Normalized
public static final MTLAttributeFormat Short2Normalized
-
Short3Normalized
public static final MTLAttributeFormat Short3Normalized
-
Short4Normalized
public static final MTLAttributeFormat Short4Normalized
-
Half2
public static final MTLAttributeFormat Half2
-
Half3
public static final MTLAttributeFormat Half3
-
Half4
public static final MTLAttributeFormat Half4
-
Float
public static final MTLAttributeFormat Float
-
Float2
public static final MTLAttributeFormat Float2
-
Float3
public static final MTLAttributeFormat Float3
-
Float4
public static final MTLAttributeFormat Float4
-
Int
public static final MTLAttributeFormat Int
-
Int2
public static final MTLAttributeFormat Int2
-
Int3
public static final MTLAttributeFormat Int3
-
Int4
public static final MTLAttributeFormat Int4
-
UInt
public static final MTLAttributeFormat UInt
-
UInt2
public static final MTLAttributeFormat UInt2
-
UInt3
public static final MTLAttributeFormat UInt3
-
UInt4
public static final MTLAttributeFormat UInt4
-
Int1010102Normalized
public static final MTLAttributeFormat Int1010102Normalized
-
UInt1010102Normalized
public static final MTLAttributeFormat UInt1010102Normalized
-
UChar4Normalized_BGRA
public static final MTLAttributeFormat UChar4Normalized_BGRA
- Since:
- Available in iOS 11.0 and later.
-
UChar
public static final MTLAttributeFormat UChar
- Since:
- Available in iOS 11.0 and later.
-
Char
public static final MTLAttributeFormat Char
- Since:
- Available in iOS 11.0 and later.
-
UCharNormalized
public static final MTLAttributeFormat UCharNormalized
- Since:
- Available in iOS 11.0 and later.
-
CharNormalized
public static final MTLAttributeFormat CharNormalized
- Since:
- Available in iOS 11.0 and later.
-
UShort
public static final MTLAttributeFormat UShort
- Since:
- Available in iOS 11.0 and later.
-
Short
public static final MTLAttributeFormat Short
- Since:
- Available in iOS 11.0 and later.
-
UShortNormalized
public static final MTLAttributeFormat UShortNormalized
- Since:
- Available in iOS 11.0 and later.
-
ShortNormalized
public static final MTLAttributeFormat ShortNormalized
- Since:
- Available in iOS 11.0 and later.
-
Half
public static final MTLAttributeFormat Half
- Since:
- Available in iOS 11.0 and later.
-
-
Method Detail
-
values
public static MTLAttributeFormat[] 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 (MTLAttributeFormat c : MTLAttributeFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MTLAttributeFormat 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 namejava.lang.NullPointerException
- if the argument is null
-
value
public long value()
- Specified by:
value
in interfaceorg.robovm.rt.bro.ValuedEnum
-
valueOf
public static MTLAttributeFormat valueOf(long n)
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:
n
- 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 namejava.lang.NullPointerException
- if the argument is null
-
-