|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BlendFactor>
com.neovisionaries.android.opengl.BlendFactor
public enum BlendFactor
Blend factor.
Enum Constant Summary | |
---|---|
CONSTANT_ALPHA
GL_CONSTANT_ALPHA. |
|
CONSTANT_COLOR
GL_CONSTANT_COLOR. |
|
DST_ALPHA
GL_DST_ALPHA. |
|
ONE
GL_ONE. |
|
ONE_MINUS_CONSTANT_ALPHA
GL_ONE_MINUS_CONSTANT_ALPHA. |
|
ONE_MINUS_CONSTANT_COLOR
GL_ONE_MINUS_CONSTANT_COLOR. |
|
ONE_MINUS_DST_ALPHA
GL_ONE_MINUS_DST_ALPHA. |
|
ONE_MINUS_SRC_ALPHA
GL_ONE_MINUS_SRC_ALPHA. |
|
ONE_MINUS_SRC_COLOR
GL_ONE_MINUS_SRC_COLOR. |
|
SRC_ALPHA
GL_SRC_ALPHA. |
|
SRC_ALPHA_SATURATE
GL_SRC_ALPHA_SATURATE. |
|
SRC_COLOR
GL_SRC_COLOR. |
|
ZERO
GL_ZERO. |
Method Summary | |
---|---|
int |
getFactor()
Get the integer representing this blend factor. |
static BlendFactor |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BlendFactor[] |
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 BlendFactor ZERO
public static final BlendFactor ONE
public static final BlendFactor SRC_COLOR
public static final BlendFactor ONE_MINUS_SRC_COLOR
public static final BlendFactor SRC_ALPHA
public static final BlendFactor ONE_MINUS_SRC_ALPHA
public static final BlendFactor DST_ALPHA
public static final BlendFactor ONE_MINUS_DST_ALPHA
public static final BlendFactor CONSTANT_COLOR
public static final BlendFactor ONE_MINUS_CONSTANT_COLOR
public static final BlendFactor CONSTANT_ALPHA
public static final BlendFactor ONE_MINUS_CONSTANT_ALPHA
public static final BlendFactor SRC_ALPHA_SATURATE
Method Detail |
---|
public static BlendFactor[] values()
for (BlendFactor c : BlendFactor.values()) System.out.println(c);
public static BlendFactor valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getFactor()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |