Enum 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.
    • Enum Constant Detail

      • R8Unorm_sRGB

        public static final MTLPixelFormat R8Unorm_sRGB
        Since:
        Available in iOS 8.0 and later.
      • RG8Unorm_sRGB

        public static final MTLPixelFormat RG8Unorm_sRGB
        Since:
        Available in iOS 8.0 and later.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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 name
        java.lang.NullPointerException - if the argument is null
      • value

        public long value()
        Specified by:
        value in interface org.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 name
        java.lang.NullPointerException - if the argument is null