Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rgbwritem(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

RGBwritemask(3G)  —  Silicon Graphics

NAME

RGBwritemask − grants write access to a subset of 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: longint);

DESCRIPTION

RGBwritemask shields bitplanes that are not used for ordinary drawing routines in RGB mode.  red, green, blue are masks for each of the three sets of bitplanes.  Wherever the digit 1 is in the writemask, the system writes the corresponding bits in the RGB color into the bitplanes.  Zeros in the writemask mark bitplanes as read-only.  These bitplanes are not changed, regardless of the bits in the RGB color. 

SEE ALSO

gRGBmask, RGBcolor, writemask Programming Guide, Section 6.3, Colors and Writemasks

Version 3.6  —  December 20, 1987

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