|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BlendFunction>
Microsoft.Xna.Framework.Graphics.BlendFunction
public enum BlendFunction
Defines how to combine a source color with the destination color already on the render target for color blending.
Enum Constant Summary | |
---|---|
Add
The result is the destination added to the source. |
|
Max
The result is the maximum of the source and destination. |
|
Min
The result is the minimum of the source and destination. |
|
ReverseSubtract
The result is the source subtracted from the destination. |
|
Subtract
The result is the destination subtracted from the source. |
Method Summary | |
---|---|
static BlendFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BlendFunction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BlendFunction Add
public static final BlendFunction Subtract
public static final BlendFunction ReverseSubtract
public static final BlendFunction Min
public static final BlendFunction Max
Method Detail |
---|
public static BlendFunction[] values()
for (BlendFunction c : BlendFunction.values()) System.out.println(c);
public static BlendFunction valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |