Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getplanes(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



getplanes(3G)                                                    getplanes(3G)



NAME
     getplanes - returns the number of available bitplanes

C SPECIFICATION
     long getplanes()

PARAMETERS
     none

FUNCTION RETURN VALUE
     The returned value of this function is the number of bitplanes available
     for drawing under the current drawmode.

DESCRIPTION
     getplanes returns the number of bitplanes that are available for drawing
     under the current drawmode.  When the drawmode is NORMALDRAW, the result
     also depends on the current buffer mode and whether or not multimap mode
     is active.  When the drawmode is CURSORDRAW, getplanes always returns 0,
     since no direct drawing can be done into the cursor planes.

SEE ALSO
     cmode, drawmode, doublebuffer, getgdesc, multimap, onemap, overlay,
     RGBmode, singlebuffer, underlay

NOTE
     This routine is available only in immediate mode.





























                                                                        Page 1



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