getmonitor(3G) getmonitor(3G)
getmonitor - returns the video output format currently being generated by
the graphics system
long getmonitor()
none
FUNCTION RETURN VALUE
The returned value of this function is the type of the current display
monitor.
getmonitor returns the type of the current video output format. The
possible return values are:
HZ30 30Hz interlaced monitor
HZ30_SG 30HZ noninterlaced with sync on green monitor
HZ50 50Hz noninterlaced monitor
HZ60 60Hz noninterlaced monitor
HZ70 70Hz noninterlaced monitor
HZ72 72Hz noninterlaced monitor
HZ76 76Hz noninterlaced monitor
IRIS3K 60Hz (1024x768 visible) noninterlaced video format, if the
video hardware supports it
NTSC NTSC monitor
PAL PAL or SECAM monitor
STR_RECT monitor in stereo mode
SGI_VIDEO_FORMAT_OTHER [Toc] [Back]
an video output format other than those explicitly defined
above
getothermonitor, setmonitor, setvideo
This routine has been superseded by the functions that are part of the X
extension XSGIvc(3) for those hardware architectures that natively
support OpenGL.
Page 1
getmonitor(3G) getmonitor(3G)
This routine is available only in immediate mode.
The symbolic return values mentioned above are defined in <gl/get.h>.
This function returns the value set previously by setmonitor. It does
not actually test the hardware. Because Iris Entry does not support
setmonitor the value returned by getmonitor is always HZ60. Iris Elan
and Extreme support HZ50, HZ60, HZ72, NTSC, PAL and STR_RECT monitor
types.
PPPPaaaaggggeeee 2222 [ Back ]
|