public static enum GLViewer.BlendFactor extends java.lang.Enum<GLViewer.BlendFactor>
Enum Constant and Description |
---|
GL_ONE |
GL_ONE_MINUS_CONSTANT_ALPHA |
GL_ONE_MINUS_SRC_ALPHA |
GL_SRC_ALPHA |
GL_ZERO |
Modifier and Type | Method and Description |
---|---|
int |
glValue() |
static GLViewer.BlendFactor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GLViewer.BlendFactor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GLViewer.BlendFactor GL_ONE_MINUS_CONSTANT_ALPHA
public static final GLViewer.BlendFactor GL_ONE_MINUS_SRC_ALPHA
public static final GLViewer.BlendFactor GL_ONE
public static final GLViewer.BlendFactor GL_ZERO
public static final GLViewer.BlendFactor GL_SRC_ALPHA
public static GLViewer.BlendFactor[] values()
for (GLViewer.BlendFactor c : GLViewer.BlendFactor.values()) System.out.println(c);
public static GLViewer.BlendFactor 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 namejava.lang.NullPointerException
- if the argument is nullpublic int glValue()