Enum MTLBlendFactor

java.lang.Object
java.lang.Enum<MTLBlendFactor>
org.robovm.apple.metal.MTLBlendFactor
All Implemented Interfaces:
Serializable, Comparable<MTLBlendFactor>, ValuedEnum

public enum MTLBlendFactor
extends Enum<MTLBlendFactor>
implements ValuedEnum
  • Enum Constant Details

    • Zero

      public static final MTLBlendFactor Zero
    • One

      public static final MTLBlendFactor One
    • SourceColor

      public static final MTLBlendFactor SourceColor
    • OneMinusSourceColor

      public static final MTLBlendFactor OneMinusSourceColor
    • SourceAlpha

      public static final MTLBlendFactor SourceAlpha
    • 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
    • BlendColor

      public static final MTLBlendFactor BlendColor
    • OneMinusBlendColor

      public static final MTLBlendFactor OneMinusBlendColor
    • BlendAlpha

      public static final MTLBlendFactor BlendAlpha
    • 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 Details

    • values

      public static MTLBlendFactor[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MTLBlendFactor valueOf​(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public long value()
      Specified by:
      value in interface 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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null