JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.newt.opengl.util.stereo.StereoDeviceUtil Class Reference

StereoDevice NEWT related utilities. More...

Collaboration diagram for com.jogamp.newt.opengl.util.stereo.StereoDeviceUtil:

Static Public Member Functions

static MonitorDevice getMonitorDevice (final StereoDevice stereoDevice, final boolean adjustRotation)
 Returns the StereoDevice's associated MonitorDevice or null, if none is attached. More...
 

Detailed Description

StereoDevice NEWT related utilities.

Definition at line 49 of file StereoDeviceUtil.java.

Member Function Documentation

◆ getMonitorDevice()

static MonitorDevice com.jogamp.newt.opengl.util.stereo.StereoDeviceUtil.getMonitorDevice ( final StereoDevice  stereoDevice,
final boolean  adjustRotation 
)
static

Returns the StereoDevice's associated MonitorDevice or null, if none is attached.

The returned MonitorDevice's Screen, retrieved via MonitorDevice#getScreen(), has been natively created via Screen#addReference() and caller shall ensure Screen#removeReference() will be called when no more in use.

If adjustRotation is true and the StereoDevice requires rotation, the MonitorDevice will be rotated.

Parameters
stereoDevicethe StereoDevice
adjustRotationif true rotate the MonitorDevice if required.

Definition at line 65 of file StereoDeviceUtil.java.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: