Returns the current display mode.
FORTRAN (libfgl.a)
Int32 getdisplaymode( )
INTEGER*4 FUNCTION GETDIS
The getdisplaymode subroutine returns the current configuration of the frame buffer bitplanes and color map.
Note: This subroutine cannot be used to add to a display list.
Symbolic Name | ||
C | FORTRAN | Display Mode |
DMRGB | DMRGB | RGB single buffer mode |
DMSINGLE | DMSING | Color map single buffer mode |
DMDOUBLE | DMDOUB | Color map double buffer mode |
DMRGBDOUBLE | DMRGBD | RGB double buffermode |
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
/usr/include/gl/gl.h | Contains C language constant and variable type definitions for GL. |
/usr/include/gl/fgl.h | Contains FORTRAN constant and variable type definitions for GL. |
Setting color mode as the current mode with the cmode subroutine.
Setting the display mode to double buffer mode with the doublebuffer subroutine.
Returning the organization of the current color map with the getcmmode subroutine.
Returning the current drawing mode with the getdrawmode subroutine.
Setting a display mode that bypasses the color map with the RGBmode subroutine.
Setting the display to single buffer mode with the singlebuffer subroutine.
Understanding the Hardware Used by GL, Creating Animated Scenes, Querying the System.
Working in Color Map and RGB Modes and Configuring the Frame Buffer for GL.