public enum Capability extends Enum<Capability> implements IEnumWithValue
| Enum Constant and Description |
|---|
BLEND
Blending of the computed fragment color values.
|
CULL_FACE
Culling of polygons.
|
DEPTH_TEST
Depth comparisons and updates to the depth buffer
|
DITHER
Dithering of color components before they get written to the color buffer.
|
POLYGON_OFFSET_FILL
Adding an offset to depth values of polygon's fragments.
|
RASTERIZER_DISCARD
Primitives are discarded immediately before the rasterization stage, but after the optional
transform feedback stage.
|
SAMPLE_ALPHA_TO_COVERAGE
The computation of a temporary coverage value determined by the alpha value.
|
SAMPLE_COVERAGE
ANDing the fragment's coverage with the temporary coverage value.
|
SCISSOR_TEST
The scissor test that discards fragments that are outside of the scissor rectangle.
|
STENCIL_TEST
Stencil testing and updates to the stencil buffer.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static Capability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Capability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromValue, transformForClientpublic static final Capability BLEND
public static final Capability CULL_FACE
public static final Capability DEPTH_TEST
public static final Capability DITHER
public static final Capability POLYGON_OFFSET_FILL
public static final Capability RASTERIZER_DISCARD
public static final Capability SAMPLE_ALPHA_TO_COVERAGE
public static final Capability SAMPLE_COVERAGE
public static final Capability SCISSOR_TEST
public static final Capability STENCIL_TEST
public static Capability[] values()
for (Capability c : Capability.values()) System.out.println(c);
public static Capability 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 nullpublic int value()
value in interface IEnumWithValueCopyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.