public enum R2SceneStencilsMode extends Enum<R2SceneStencilsMode>
Enum Constant and Description |
---|
STENCIL_MODE_INSTANCES_ARE_NEGATIVE
The entire screen will be marked as "allowed", with each rendered stencil
marking pixels as "disallowed".
|
STENCIL_MODE_INSTANCES_ARE_POSITIVE
The entire screen will be marked as "disallowed", with each rendered
stencil marking pixels as "allowed".
|
Modifier and Type | Method and Description |
---|---|
static R2SceneStencilsMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static R2SceneStencilsMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final R2SceneStencilsMode STENCIL_MODE_INSTANCES_ARE_NEGATIVE
public static final R2SceneStencilsMode STENCIL_MODE_INSTANCES_ARE_POSITIVE
public static R2SceneStencilsMode[] values()
for (R2SceneStencilsMode c : R2SceneStencilsMode.values()) System.out.println(c);
public static R2SceneStencilsMode 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