|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
StereoDevice NEWT related utilities.
More...
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... | |
StereoDevice NEWT related utilities.
Definition at line 49 of file StereoDeviceUtil.java.
|
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.
| stereoDevice | the StereoDevice |
| adjustRotation | if true rotate the MonitorDevice if required. |
Definition at line 65 of file StereoDeviceUtil.java.