public static enum GLViewer.BlendType extends java.lang.Enum<GLViewer.BlendType>
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 |
value() |
static GLViewer.BlendType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GLViewer.BlendType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GLViewer.BlendType GL_ONE_MINUS_CONSTANT_ALPHA
public static final GLViewer.BlendType GL_ONE_MINUS_SRC_ALPHA
public static final GLViewer.BlendType GL_ONE
public static final GLViewer.BlendType GL_ZERO
public static final GLViewer.BlendType GL_SRC_ALPHA
public static GLViewer.BlendType[] values()
for (GLViewer.BlendType c : GLViewer.BlendType.values()) System.out.println(c);
public static GLViewer.BlendType 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 value()