Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ RGBwritemas(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

RGBwritemask()  —  Silicon Graphics

NAME

RGBwritemask - grants write access to a subset of the available bitplanes

SPECIFICATION

C
RGBwritemask(red, green, blue)
short red, green, blue;

FORTRAN
subroutine RGBwri(red, green, blue)
integer*4 red, green, blue

Pascal
procedure RGBwritemask(red, green, blue: Short);

DESCRIPTION

RGBwritemask shields bitplanes reserved for special uses from ordinary drawing commands in RGB mode.  The three arguments are masks for each of the three sets of eight planes.  Wherever there are ones in the writemask, the corresponding bits in the RGB color will be written into the bitplanes.  Zeros in the writemask mark bitplanes as read-only.  These planes will not be changed, regardless of the bits in the RGB color. 

SEE ALSO

gRGBmask, RGBcolor, writemask

Version 2.4  —  May 08, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026