public enum StereoscopicDisplayMode extends Enum<StereoscopicDisplayMode> implements Enumeration
Enum Constant and Description |
---|
ANAGLYPH
Anaglyph or two-color stereoscopic
|
LEFT_EYE
Left eye view of the stereoscopic scene
|
OFF
No stereoscopic
|
QUAD_BUFFER
OpenGL Quad-buffer stereoscopic
|
RIGHT_EYE
Right eye view of the stereoscopic scene
|
SIDE_BY_SIDE
Side-by-side stereoscopic.
|
Modifier and Type | Method and Description |
---|---|
static StereoscopicDisplayMode |
getDefault()
Get the enum constant that is considered to be the default.
|
static StereoscopicDisplayMode |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static StereoscopicDisplayMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StereoscopicDisplayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StereoscopicDisplayMode OFF
public static final StereoscopicDisplayMode QUAD_BUFFER
public static final StereoscopicDisplayMode ANAGLYPH
public static final StereoscopicDisplayMode LEFT_EYE
public static final StereoscopicDisplayMode RIGHT_EYE
public static final StereoscopicDisplayMode SIDE_BY_SIDE
public static StereoscopicDisplayMode[] values()
for (StereoscopicDisplayMode c : StereoscopicDisplayMode.values()) System.out.println(c);
public static StereoscopicDisplayMode 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 getValue()
getValue
in interface Enumeration
@Nonnull public static StereoscopicDisplayMode getFromValue(int value)
value
- a numeric value.@Nonnull public static StereoscopicDisplayMode getDefault()