Package org.robovm.apple.metal
Enum MTLPixelFormat
- java.lang.Object
-
- java.lang.Enum<MTLPixelFormat>
-
- org.robovm.apple.metal.MTLPixelFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MTLPixelFormat>
,org.robovm.rt.bro.ValuedEnum
public enum MTLPixelFormat extends java.lang.Enum<MTLPixelFormat> 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 MTLPixelFormat
valueOf(long n)
Returns the enum constant of this type with the specified name.static MTLPixelFormat
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MTLPixelFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Invalid
public static final MTLPixelFormat Invalid
-
A8Unorm
public static final MTLPixelFormat A8Unorm
-
R8Unorm
public static final MTLPixelFormat R8Unorm
-
R8Unorm_sRGB
public static final MTLPixelFormat R8Unorm_sRGB
- Since:
- Available in iOS 8.0 and later.
-
R8Snorm
public static final MTLPixelFormat R8Snorm
-
R8Uint
public static final MTLPixelFormat R8Uint
-
R8Sint
public static final MTLPixelFormat R8Sint
-
R16Unorm
public static final MTLPixelFormat R16Unorm
-
R16Snorm
public static final MTLPixelFormat R16Snorm
-
R16Uint
public static final MTLPixelFormat R16Uint
-
R16Sint
public static final MTLPixelFormat R16Sint
-
R16Float
public static final MTLPixelFormat R16Float
-
RG8Unorm
public static final MTLPixelFormat RG8Unorm
-
RG8Unorm_sRGB
public static final MTLPixelFormat RG8Unorm_sRGB
- Since:
- Available in iOS 8.0 and later.
-
RG8Snorm
public static final MTLPixelFormat RG8Snorm
-
RG8Uint
public static final MTLPixelFormat RG8Uint
-
RG8Sint
public static final MTLPixelFormat RG8Sint
-
B5G6R5Unorm
public static final MTLPixelFormat B5G6R5Unorm
- Since:
- Available in iOS 8.0 and later.
-
A1BGR5Unorm
public static final MTLPixelFormat A1BGR5Unorm
- Since:
- Available in iOS 8.0 and later.
-
ABGR4Unorm
public static final MTLPixelFormat ABGR4Unorm
- Since:
- Available in iOS 8.0 and later.
-
BGR5A1Unorm
public static final MTLPixelFormat BGR5A1Unorm
- Since:
- Available in iOS 8.0 and later.
-
R32Uint
public static final MTLPixelFormat R32Uint
-
R32Sint
public static final MTLPixelFormat R32Sint
-
R32Float
public static final MTLPixelFormat R32Float
-
RG16Unorm
public static final MTLPixelFormat RG16Unorm
-
RG16Snorm
public static final MTLPixelFormat RG16Snorm
-
RG16Uint
public static final MTLPixelFormat RG16Uint
-
RG16Sint
public static final MTLPixelFormat RG16Sint
-
RG16Float
public static final MTLPixelFormat RG16Float
-
RGBA8Unorm
public static final MTLPixelFormat RGBA8Unorm
-
RGBA8Unorm_sRGB
public static final MTLPixelFormat RGBA8Unorm_sRGB
-
RGBA8Snorm
public static final MTLPixelFormat RGBA8Snorm
-
RGBA8Uint
public static final MTLPixelFormat RGBA8Uint
-
RGBA8Sint
public static final MTLPixelFormat RGBA8Sint
-
BGRA8Unorm
public static final MTLPixelFormat BGRA8Unorm
-
BGRA8Unorm_sRGB
public static final MTLPixelFormat BGRA8Unorm_sRGB
-
RGB10A2Unorm
public static final MTLPixelFormat RGB10A2Unorm
-
RGB10A2Uint
public static final MTLPixelFormat RGB10A2Uint
-
RG11B10Float
public static final MTLPixelFormat RG11B10Float
-
RGB9E5Float
public static final MTLPixelFormat RGB9E5Float
-
BGR10A2Unorm
public static final MTLPixelFormat BGR10A2Unorm
- Since:
- Available in iOS 11.0 and later.
-
BGR10_XR
public static final MTLPixelFormat BGR10_XR
- Since:
- Available in iOS 10.0 and later.
-
BGR10_XR_sRGB
public static final MTLPixelFormat BGR10_XR_sRGB
- Since:
- Available in iOS 10.0 and later.
-
RG32Uint
public static final MTLPixelFormat RG32Uint
-
RG32Sint
public static final MTLPixelFormat RG32Sint
-
RG32Float
public static final MTLPixelFormat RG32Float
-
RGBA16Unorm
public static final MTLPixelFormat RGBA16Unorm
-
RGBA16Snorm
public static final MTLPixelFormat RGBA16Snorm
-
RGBA16Uint
public static final MTLPixelFormat RGBA16Uint
-
RGBA16Sint
public static final MTLPixelFormat RGBA16Sint
-
RGBA16Float
public static final MTLPixelFormat RGBA16Float
-
BGRA10_XR
public static final MTLPixelFormat BGRA10_XR
- Since:
- Available in iOS 10.0 and later.
-
BGRA10_XR_sRGB
public static final MTLPixelFormat BGRA10_XR_sRGB
- Since:
- Available in iOS 10.0 and later.
-
RGBA32Uint
public static final MTLPixelFormat RGBA32Uint
-
RGBA32Sint
public static final MTLPixelFormat RGBA32Sint
-
RGBA32Float
public static final MTLPixelFormat RGBA32Float
-
PVRTC_RGB_2BPP
public static final MTLPixelFormat PVRTC_RGB_2BPP
- Since:
- Available in iOS 8.0 and later.
-
PVRTC_RGB_2BPP_sRGB
public static final MTLPixelFormat PVRTC_RGB_2BPP_sRGB
- Since:
- Available in iOS 8.0 and later.
-
PVRTC_RGB_4BPP
public static final MTLPixelFormat PVRTC_RGB_4BPP
- Since:
- Available in iOS 8.0 and later.
-
PVRTC_RGB_4BPP_sRGB
public static final MTLPixelFormat PVRTC_RGB_4BPP_sRGB
- Since:
- Available in iOS 8.0 and later.
-
PVRTC_RGBA_2BPP
public static final MTLPixelFormat PVRTC_RGBA_2BPP
- Since:
- Available in iOS 8.0 and later.
-
PVRTC_RGBA_2BPP_sRGB
public static final MTLPixelFormat PVRTC_RGBA_2BPP_sRGB
- Since:
- Available in iOS 8.0 and later.
-
PVRTC_RGBA_4BPP
public static final MTLPixelFormat PVRTC_RGBA_4BPP
- Since:
- Available in iOS 8.0 and later.
-
PVRTC_RGBA_4BPP_sRGB
public static final MTLPixelFormat PVRTC_RGBA_4BPP_sRGB
- Since:
- Available in iOS 8.0 and later.
-
EAC_R11Unorm
public static final MTLPixelFormat EAC_R11Unorm
- Since:
- Available in iOS 8.0 and later.
-
EAC_R11Snorm
public static final MTLPixelFormat EAC_R11Snorm
- Since:
- Available in iOS 8.0 and later.
-
EAC_RG11Unorm
public static final MTLPixelFormat EAC_RG11Unorm
- Since:
- Available in iOS 8.0 and later.
-
EAC_RG11Snorm
public static final MTLPixelFormat EAC_RG11Snorm
- Since:
- Available in iOS 8.0 and later.
-
EAC_RGBA8
public static final MTLPixelFormat EAC_RGBA8
- Since:
- Available in iOS 8.0 and later.
-
EAC_RGBA8_sRGB
public static final MTLPixelFormat EAC_RGBA8_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ETC2_RGB8
public static final MTLPixelFormat ETC2_RGB8
- Since:
- Available in iOS 8.0 and later.
-
ETC2_RGB8_sRGB
public static final MTLPixelFormat ETC2_RGB8_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ETC2_RGB8A1
public static final MTLPixelFormat ETC2_RGB8A1
- Since:
- Available in iOS 8.0 and later.
-
ETC2_RGB8A1_sRGB
public static final MTLPixelFormat ETC2_RGB8A1_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_4x4_sRGB
public static final MTLPixelFormat ASTC_4x4_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_5x4_sRGB
public static final MTLPixelFormat ASTC_5x4_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_5x5_sRGB
public static final MTLPixelFormat ASTC_5x5_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_6x5_sRGB
public static final MTLPixelFormat ASTC_6x5_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_6x6_sRGB
public static final MTLPixelFormat ASTC_6x6_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_8x5_sRGB
public static final MTLPixelFormat ASTC_8x5_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_8x6_sRGB
public static final MTLPixelFormat ASTC_8x6_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_8x8_sRGB
public static final MTLPixelFormat ASTC_8x8_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_10x5_sRGB
public static final MTLPixelFormat ASTC_10x5_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_10x6_sRGB
public static final MTLPixelFormat ASTC_10x6_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_10x8_sRGB
public static final MTLPixelFormat ASTC_10x8_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_10x10_sRGB
public static final MTLPixelFormat ASTC_10x10_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_12x10_sRGB
public static final MTLPixelFormat ASTC_12x10_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_12x12_sRGB
public static final MTLPixelFormat ASTC_12x12_sRGB
- Since:
- Available in iOS 8.0 and later.
-
ASTC_4x4_LDR
public static final MTLPixelFormat ASTC_4x4_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_5x4_LDR
public static final MTLPixelFormat ASTC_5x4_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_5x5_LDR
public static final MTLPixelFormat ASTC_5x5_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_6x5_LDR
public static final MTLPixelFormat ASTC_6x5_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_6x6_LDR
public static final MTLPixelFormat ASTC_6x6_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_8x5_LDR
public static final MTLPixelFormat ASTC_8x5_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_8x6_LDR
public static final MTLPixelFormat ASTC_8x6_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_8x8_LDR
public static final MTLPixelFormat ASTC_8x8_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_10x5_LDR
public static final MTLPixelFormat ASTC_10x5_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_10x6_LDR
public static final MTLPixelFormat ASTC_10x6_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_10x8_LDR
public static final MTLPixelFormat ASTC_10x8_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_10x10_LDR
public static final MTLPixelFormat ASTC_10x10_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_12x10_LDR
public static final MTLPixelFormat ASTC_12x10_LDR
- Since:
- Available in iOS 8.0 and later.
-
ASTC_12x12_LDR
public static final MTLPixelFormat ASTC_12x12_LDR
- Since:
- Available in iOS 8.0 and later.
-
GBGR422
public static final MTLPixelFormat GBGR422
-
BGRG422
public static final MTLPixelFormat BGRG422
-
Depth32Float
public static final MTLPixelFormat Depth32Float
-
Stencil8
public static final MTLPixelFormat Stencil8
-
Depth32Float_Stencil8
public static final MTLPixelFormat Depth32Float_Stencil8
- Since:
- Available in iOS 9.0 and later.
-
X32_Stencil8
public static final MTLPixelFormat X32_Stencil8
- Since:
- Available in iOS 10.0 and later.
-
-
Method Detail
-
values
public static MTLPixelFormat[] 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 (MTLPixelFormat c : MTLPixelFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MTLPixelFormat 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 MTLPixelFormat 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
-
-