public enum StencilFunction extends Enum<StencilFunction> implements IEnumWithValue
| Enum Constant and Description |
|---|
DECR
Decrements the current stencil buffer value.
|
DECR_WRAP
Decrements the current stencil buffer value.
|
INCR
Increments the current stencil buffer value.
|
INCR_WRAP
Increments the current stencil buffer value.
|
INVERT
Inverts the current stencil buffer value bitwise.
|
KEEP
Keeps the current value.
|
REPLACE
Sets the stencil buffer value to the reference value as specified by
RenderingContextWebGL.stencilFunc(org.fujion.canvas.webgl.DepthFunction, int, int). |
ZERO
Sets the stencil buffer value to 0.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static StencilFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StencilFunction[] |
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 StencilFunction DECR
public static final StencilFunction DECR_WRAP
public static final StencilFunction INCR
public static final StencilFunction INCR_WRAP
public static final StencilFunction INVERT
public static final StencilFunction KEEP
public static final StencilFunction REPLACE
RenderingContextWebGL.stencilFunc(org.fujion.canvas.webgl.DepthFunction, int, int).public static final StencilFunction ZERO
public static StencilFunction[] values()
for (StencilFunction c : StencilFunction.values()) System.out.println(c);
public static StencilFunction 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.