Returns the current writemask.
Int32 getwritemask( )
INTEGER*4 FUNCTION GETWRI
The getwritemask subroutine returns the color map mode writemask. Independently settable writemasks exist for the overlay, underlay, and main frame buffers.
The returned value of this function is an integer with up to 12 significant bits, one for each available bitplane. When a bit is set to zero in the writemask, the corresponding bitplane is read only.
This subroutine is intended for user in color map mode only. To get the RGB mode writemask, use the gRGBmask subroutine.
Note: This subroutine cannot be used to add to a display list.
The writemask for the current drawing mode.
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.|
Specifying the target frame buffer for the drawing subroutines with the drawmode subroutine.
Returning the current RGB writemask with the gRGBmask subroutine.
Granting write access to a subset of available bitplanes with the RGBwritemask subroutine.
Granting write permission to a subset of available bitplanes with the writemask subroutine.
Configuring the Frame Buffer and Querying the System.
Writemasks and Logical Operations and Working in Color Map and RGB Modes.