Enum MTLBlendFactor

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MTLBlendFactor>, org.robovm.rt.bro.ValuedEnum

    public enum MTLBlendFactor
    extends java.lang.Enum<MTLBlendFactor>
    implements org.robovm.rt.bro.ValuedEnum
    Since:
    Available in iOS 8.0 and later.
    • Enum Constant Detail

      • OneMinusSourceColor

        public static final MTLBlendFactor OneMinusSourceColor
      • OneMinusSourceAlpha

        public static final MTLBlendFactor OneMinusSourceAlpha
      • DestinationColor

        public static final MTLBlendFactor DestinationColor
      • OneMinusDestinationColor

        public static final MTLBlendFactor OneMinusDestinationColor
      • DestinationAlpha

        public static final MTLBlendFactor DestinationAlpha
      • OneMinusDestinationAlpha

        public static final MTLBlendFactor OneMinusDestinationAlpha
      • SourceAlphaSaturated

        public static final MTLBlendFactor SourceAlphaSaturated
      • OneMinusBlendColor

        public static final MTLBlendFactor OneMinusBlendColor
      • OneMinusBlendAlpha

        public static final MTLBlendFactor OneMinusBlendAlpha
      • Source1Color

        public static final MTLBlendFactor Source1Color
        Since:
        Available in iOS 10.11 and later.
      • OneMinusSource1Color

        public static final MTLBlendFactor OneMinusSource1Color
        Since:
        Available in iOS 10.11 and later.
      • Source1Alpha

        public static final MTLBlendFactor Source1Alpha
        Since:
        Available in iOS 10.11 and later.
      • OneMinusSource1Alpha

        public static final MTLBlendFactor OneMinusSource1Alpha
        Since:
        Available in iOS 10.11 and later.
    • Method Detail

      • values

        public static MTLBlendFactor[] 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 (MTLBlendFactor c : MTLBlendFactor.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MTLBlendFactor 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 MTLBlendFactor 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