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