getmon(3G)getmon(3G)NAMEgetmon - returns the video output format currently being generated by the
graphics system
FORTRAN 77 SPECIFICATION
integer*4 function getmon()PARAMETERS
none
FUNCTION RETURN VALUE
The returned value of this function is the type of the current display
monitor.
DESCRIPTION
getmonitor returns the type of the current video output format. The
possible return values are:
HZ30 30Hz interlaced monitor
HZ30 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
an video output format other than those explicitly defined
above
SEE ALSO
getoth, setmon, setvid, XSGIvc(3)NOTES
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
getmon(3G)getmon(3G)
This routine is available only in immediate mode.
The symbolic return values mentioned above are defined in <gl/fget.h>.
This function returns the value set previously by setmon. It does not
actually test the hardware. Because Iris Entry does not support setmon
the value returned by getmon is always HZ60. Iris Elan and Extreme
support HZ50, HZ60, HZ72, NTSC, PAL and STR_RECT monitor types.
Page 2