|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BlendState.DestinationFunction>
com.jme.scene.state.BlendState.DestinationFunction
public static enum BlendState.DestinationFunction
Enum Constant Summary | |
---|---|
ConstantAlpha
The destination value of the blend function is the value of the constant color's alpha. |
|
ConstantColor
The destination value of the blend function is the value of the constant color. |
|
DestinationAlpha
The destination value of the blend function is the destination alpha value. |
|
One
The destination value of the blend function is all ones. |
|
OneMinusConstantAlpha
The destination value of the blend function is 1 minus the value of the constant color's alpha. |
|
OneMinusConstantColor
The destination value of the blend function is 1 minus the value of the constant color. |
|
OneMinusDestinationAlpha
The destination value of the blend function is 1 - the destination alpha value. |
|
OneMinusSourceAlpha
The destination value of the blend function is 1 - the source alpha value. |
|
OneMinusSourceColor
The destination value of the blend function is 1 - the source color. |
|
SourceAlpha
The destination value of the blend function is the source alpha value. |
|
SourceColor
The destination value of the blend function is the source color. |
|
Zero
The destination value of the blend function is all zeros. |
Method Summary | |
---|---|
boolean |
usesConstantColor()
|
static BlendState.DestinationFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BlendState.DestinationFunction[] |
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 BlendState.DestinationFunction Zero
public static final BlendState.DestinationFunction One
public static final BlendState.DestinationFunction SourceColor
public static final BlendState.DestinationFunction OneMinusSourceColor
public static final BlendState.DestinationFunction SourceAlpha
public static final BlendState.DestinationFunction OneMinusSourceAlpha
public static final BlendState.DestinationFunction DestinationAlpha
public static final BlendState.DestinationFunction OneMinusDestinationAlpha
public static final BlendState.DestinationFunction ConstantColor
public static final BlendState.DestinationFunction OneMinusConstantColor
public static final BlendState.DestinationFunction ConstantAlpha
public static final BlendState.DestinationFunction OneMinusConstantAlpha
Method Detail |
---|
public static BlendState.DestinationFunction[] values()
for (BlendState.DestinationFunction c : BlendState.DestinationFunction.values()) System.out.println(c);
public static BlendState.DestinationFunction 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 nullpublic boolean usesConstantColor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |