public enum JCGLBlendEquation extends Enum<JCGLBlendEquation>
| Enum Constant and Description |
|---|
BLEND_EQUATION_ADD
Add the source and destination colors;
s + d; GL_FUNC_ADD |
BLEND_EQUATION_MAXIMUM
Take the maximum of the source and destination colors;
max (s, d);
GL_MAX |
BLEND_EQUATION_MINIMUM
Take the minimum of the source and destination colors;
min (s, d);
GL_MIN |
BLEND_EQUATION_REVERSE_SUBTRACT
Subtract the source from the destination colors;
d - s; GL_FUNC_REVERSE_SUBTRACT |
BLEND_EQUATION_SUBTRACT
Subtract the destination from the source colors;
s - d; GL_FUNC_SUBTRACT |
| Modifier and Type | Method and Description |
|---|---|
static JCGLBlendEquation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLBlendEquation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCGLBlendEquation BLEND_EQUATION_ADD
s + d; GL_FUNC_ADDpublic static final JCGLBlendEquation BLEND_EQUATION_MAXIMUM
max (s, d);
GL_MAXpublic static final JCGLBlendEquation BLEND_EQUATION_MINIMUM
min (s, d);
GL_MINpublic static final JCGLBlendEquation BLEND_EQUATION_REVERSE_SUBTRACT
d - s; GL_FUNC_REVERSE_SUBTRACTpublic static final JCGLBlendEquation BLEND_EQUATION_SUBTRACT
s - d; GL_FUNC_SUBTRACTpublic static JCGLBlendEquation[] values()
for (JCGLBlendEquation c : JCGLBlendEquation.values()) System.out.println(c);
public static JCGLBlendEquation 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