Package org.robovm.apple.metal
Enum MTLBlendFactor
- java.lang.Object
-
- java.lang.Enum<MTLBlendFactor>
-
- org.robovm.apple.metal.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.
-
-
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 MTLBlendFactor
valueOf(long n)
Returns the enum constant of this type with the specified name.static MTLBlendFactor
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MTLBlendFactor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 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 namejava.lang.NullPointerException
- if the argument is null
-
value
public long value()
- Specified by:
value
in interfaceorg.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 namejava.lang.NullPointerException
- if the argument is null
-
-