public enum JCGLBlendFunction extends Enum<JCGLBlendFunction>
Enum Constant and Description |
---|
BLEND_CONSTANT_ALPHA
Multiply the color by the current constant alpha, saturating the result;
GL_CONSTANT_ALPHA |
BLEND_CONSTANT_COLOR
Multiply the color by the current constant color, saturating the result;
GL_CONSTANT_COLOR |
BLEND_DESTINATION_ALPHA
Multiply the color by the destination alpha;
GL_DST_ALPHA |
BLEND_DESTINATION_COLOR
Multiply the color by the destination color;
GL_DST_COLOR |
BLEND_ONE
Multiply the color by one;
GL_ONE |
BLEND_ONE_MINUS_CONSTANT_ALPHA
Multiply the color by one minus the current constant alpha, saturating the
result;
GL_ONE_MINUS_CONSTANT_ALPHA |
BLEND_ONE_MINUS_CONSTANT_COLOR
Multiply the color by one minus the current constant color, saturating the
result;
GL_ONE_MINUS_CONSTANT_COLOR |
BLEND_ONE_MINUS_DESTINATION_ALPHA
Multiply the color by one minus the destination alpha;
GL_ONE_MINUS_DST_ALPHA |
BLEND_ONE_MINUS_DESTINATION_COLOR
Multiply the color by one minus the destination color;
GL_ONE_MINUS_DST_COLOR |
BLEND_ONE_MINUS_SOURCE_ALPHA
Multiply the color by one minus the source alpha;
GL_ONE_MINUS_SRC_ALPHA |
BLEND_ONE_MINUS_SOURCE_COLOR
Multiply the color by one minus the source color;
GL_ONE_MINUS_SRC_COLOR |
BLEND_SOURCE_ALPHA
Multiply the color by the source alpha;
GL_SRC_ALPHA |
BLEND_SOURCE_ALPHA_SATURATE
Multiply the color by the source alpha, saturating the result;
GL_SRC_ALPHA |
BLEND_SOURCE_COLOR
Multiply the color by the source color;
GL_SRC_COLOR |
BLEND_ZERO
Multiply the color by zero;
GL_ZERO |
Modifier and Type | Method and Description |
---|---|
static JCGLBlendFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLBlendFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCGLBlendFunction BLEND_CONSTANT_ALPHA
GL_CONSTANT_ALPHA
public static final JCGLBlendFunction BLEND_CONSTANT_COLOR
GL_CONSTANT_COLOR
public static final JCGLBlendFunction BLEND_DESTINATION_ALPHA
GL_DST_ALPHA
public static final JCGLBlendFunction BLEND_DESTINATION_COLOR
GL_DST_COLOR
public static final JCGLBlendFunction BLEND_ONE
GL_ONE
public static final JCGLBlendFunction BLEND_ONE_MINUS_CONSTANT_ALPHA
GL_ONE_MINUS_CONSTANT_ALPHA
public static final JCGLBlendFunction BLEND_ONE_MINUS_CONSTANT_COLOR
GL_ONE_MINUS_CONSTANT_COLOR
public static final JCGLBlendFunction BLEND_ONE_MINUS_DESTINATION_ALPHA
GL_ONE_MINUS_DST_ALPHA
public static final JCGLBlendFunction BLEND_ONE_MINUS_DESTINATION_COLOR
GL_ONE_MINUS_DST_COLOR
public static final JCGLBlendFunction BLEND_ONE_MINUS_SOURCE_ALPHA
GL_ONE_MINUS_SRC_ALPHA
public static final JCGLBlendFunction BLEND_ONE_MINUS_SOURCE_COLOR
GL_ONE_MINUS_SRC_COLOR
public static final JCGLBlendFunction BLEND_SOURCE_ALPHA
GL_SRC_ALPHA
public static final JCGLBlendFunction BLEND_SOURCE_ALPHA_SATURATE
GL_SRC_ALPHA
public static final JCGLBlendFunction BLEND_SOURCE_COLOR
GL_SRC_COLOR
public static final JCGLBlendFunction BLEND_ZERO
GL_ZERO
public static JCGLBlendFunction[] values()
for (JCGLBlendFunction c : JCGLBlendFunction.values()) System.out.println(c);
public static JCGLBlendFunction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017 <code@io7m.com> http://io7m.com