Package com.jogamp.opengl.util.stereo
Enum StereoDeviceFactory.DeviceType
- java.lang.Object
-
- java.lang.Enum<StereoDeviceFactory.DeviceType>
-
- com.jogamp.opengl.util.stereo.StereoDeviceFactory.DeviceType
-
- All Implemented Interfaces:
Serializable
,Comparable<StereoDeviceFactory.DeviceType>
- Enclosing class:
- StereoDeviceFactory
public static enum StereoDeviceFactory.DeviceType extends Enum<StereoDeviceFactory.DeviceType>
StereoDevice
type used forcreateFactory(type)
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Default
Generic
Generic software implementation.OculusVR
OculusVR DK1 implementation.OculusVR_DK2
OculusVR DK2 implementation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StereoDeviceFactory.DeviceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static StereoDeviceFactory.DeviceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Default
public static final StereoDeviceFactory.DeviceType Default
-
Generic
public static final StereoDeviceFactory.DeviceType Generic
Generic software implementation.
-
OculusVR
public static final StereoDeviceFactory.DeviceType OculusVR
OculusVR DK1 implementation.
-
OculusVR_DK2
public static final StereoDeviceFactory.DeviceType OculusVR_DK2
OculusVR DK2 implementation.
-
-
Method Detail
-
values
public static StereoDeviceFactory.DeviceType[] 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 (StereoDeviceFactory.DeviceType c : StereoDeviceFactory.DeviceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StereoDeviceFactory.DeviceType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-