Package org.robovm.apple.metal
Enum MTLVertexFormat
- java.lang.Object
-
- java.lang.Enum<MTLVertexFormat>
-
- org.robovm.apple.metal.MTLVertexFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MTLVertexFormat>
,org.robovm.rt.bro.ValuedEnum
public enum MTLVertexFormat extends java.lang.Enum<MTLVertexFormat> implements org.robovm.rt.bro.ValuedEnum
- Since:
- Available in iOS 8.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 MTLVertexFormat
valueOf(long n)
Returns the enum constant of this type with the specified name.static MTLVertexFormat
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MTLVertexFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Invalid
public static final MTLVertexFormat Invalid
-
UChar2
public static final MTLVertexFormat UChar2
-
UChar3
public static final MTLVertexFormat UChar3
-
UChar4
public static final MTLVertexFormat UChar4
-
Char2
public static final MTLVertexFormat Char2
-
Char3
public static final MTLVertexFormat Char3
-
Char4
public static final MTLVertexFormat Char4
-
UChar2Normalized
public static final MTLVertexFormat UChar2Normalized
-
UChar3Normalized
public static final MTLVertexFormat UChar3Normalized
-
UChar4Normalized
public static final MTLVertexFormat UChar4Normalized
-
Char2Normalized
public static final MTLVertexFormat Char2Normalized
-
Char3Normalized
public static final MTLVertexFormat Char3Normalized
-
Char4Normalized
public static final MTLVertexFormat Char4Normalized
-
UShort2
public static final MTLVertexFormat UShort2
-
UShort3
public static final MTLVertexFormat UShort3
-
UShort4
public static final MTLVertexFormat UShort4
-
Short2
public static final MTLVertexFormat Short2
-
Short3
public static final MTLVertexFormat Short3
-
Short4
public static final MTLVertexFormat Short4
-
UShort2Normalized
public static final MTLVertexFormat UShort2Normalized
-
UShort3Normalized
public static final MTLVertexFormat UShort3Normalized
-
UShort4Normalized
public static final MTLVertexFormat UShort4Normalized
-
Short2Normalized
public static final MTLVertexFormat Short2Normalized
-
Short3Normalized
public static final MTLVertexFormat Short3Normalized
-
Short4Normalized
public static final MTLVertexFormat Short4Normalized
-
Half2
public static final MTLVertexFormat Half2
-
Half3
public static final MTLVertexFormat Half3
-
Half4
public static final MTLVertexFormat Half4
-
Float
public static final MTLVertexFormat Float
-
Float2
public static final MTLVertexFormat Float2
-
Float3
public static final MTLVertexFormat Float3
-
Float4
public static final MTLVertexFormat Float4
-
Int
public static final MTLVertexFormat Int
-
Int2
public static final MTLVertexFormat Int2
-
Int3
public static final MTLVertexFormat Int3
-
Int4
public static final MTLVertexFormat Int4
-
UInt
public static final MTLVertexFormat UInt
-
UInt2
public static final MTLVertexFormat UInt2
-
UInt3
public static final MTLVertexFormat UInt3
-
UInt4
public static final MTLVertexFormat UInt4
-
Int1010102Normalized
public static final MTLVertexFormat Int1010102Normalized
-
UInt1010102Normalized
public static final MTLVertexFormat UInt1010102Normalized
-
UChar4Normalized_BGRA
public static final MTLVertexFormat UChar4Normalized_BGRA
- Since:
- Available in iOS 11.0 and later.
-
UChar
public static final MTLVertexFormat UChar
- Since:
- Available in iOS 11.0 and later.
-
Char
public static final MTLVertexFormat Char
- Since:
- Available in iOS 11.0 and later.
-
UCharNormalized
public static final MTLVertexFormat UCharNormalized
- Since:
- Available in iOS 11.0 and later.
-
CharNormalized
public static final MTLVertexFormat CharNormalized
- Since:
- Available in iOS 11.0 and later.
-
UShort
public static final MTLVertexFormat UShort
- Since:
- Available in iOS 11.0 and later.
-
Short
public static final MTLVertexFormat Short
- Since:
- Available in iOS 11.0 and later.
-
UShortNormalized
public static final MTLVertexFormat UShortNormalized
- Since:
- Available in iOS 11.0 and later.
-
ShortNormalized
public static final MTLVertexFormat ShortNormalized
- Since:
- Available in iOS 11.0 and later.
-
Half
public static final MTLVertexFormat Half
- Since:
- Available in iOS 11.0 and later.
-
-
Method Detail
-
values
public static MTLVertexFormat[] 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 (MTLVertexFormat c : MTLVertexFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MTLVertexFormat 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 MTLVertexFormat 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
-
-