synergynetframework.jme.sysutils
Enum StereoRenderPass.StereoMode

java.lang.Object
  extended by java.lang.Enum<StereoRenderPass.StereoMode>
      extended by synergynetframework.jme.sysutils.StereoRenderPass.StereoMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StereoRenderPass.StereoMode>
Enclosing class:
StereoRenderPass

public static enum StereoRenderPass.StereoMode
extends java.lang.Enum<StereoRenderPass.StereoMode>

The Enum StereoMode.


Enum Constant Summary
ANAGLYPH
          Stereo information is trasferred using seperate color channels Left eye is sent with the red color channel, while the right eye is sent as teal (green & blue) color channel.
SIDE_BY_SIDE
          Stereo information is rendered seperately to each part of the screen.
STEREO_BUFFER
          Stereo information is transferred using OpenGL's dedicated stereo buffers.
 
Method Summary
static StereoRenderPass.StereoMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StereoRenderPass.StereoMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ANAGLYPH

public static final StereoRenderPass.StereoMode ANAGLYPH
Stereo information is trasferred using seperate color channels Left eye is sent with the red color channel, while the right eye is sent as teal (green & blue) color channel.


SIDE_BY_SIDE

public static final StereoRenderPass.StereoMode SIDE_BY_SIDE
Stereo information is rendered seperately to each part of the screen. The left half of the display contains the left eye, while the right half contains the right eye.


STEREO_BUFFER

public static final StereoRenderPass.StereoMode STEREO_BUFFER
Stereo information is transferred using OpenGL's dedicated stereo buffers. Requires special hardware that supports stereo stereoMode and driver, such as nVidia consumer stereo driver. In addition, the OpenGL context must be initialized in stereo stereoMode, set the "GameStereo" parameter on the GameSettings passed to JmeContext to "true".

Method Detail

values

public static StereoRenderPass.StereoMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (StereoRenderPass.StereoMode c : StereoRenderPass.StereoMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StereoRenderPass.StereoMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null