Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getgconfig(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



getgconfig(3G)                                                  getgconfig(3G)



NAME
     getgconfig - gets the size of a buffer or a state in the current buffer
     configuration

C SPECIFICATION
     long getgconfig(long buffer)

PARAMETERS
     buffer   is a symbolic constant taken from the list below.  It identifies
              the buffer or state being queried.

     GCBITSCMODE  color index size. zero indicates RGB mode.

     GCBITSRED    red component size.

     GCBITSGREEN  green component size.

     GCBITSBLUE   blue component size.

     GCBITSALPHA  alpha component size.

     GCBITSZBUFFER
                    zbuffer size.

     GCZMIN        minimum depth value that can be stored in the z-buffer.

     GCZMAX        maximum depth value that can be stored in the z-buffer.

     GCBITSSTENCIL
                    stencil size.

     GCBITSACBUF  accumulation buffer size.

     GCMSSAMPLES  number of samples in the multisample buffer.

     GCBITSMSZBUFFER
                    multisample zbuffer size.

     GCMSZMIN     minimum depth value that can be stored in the multisample
                    z-buffer.

     GCMSZMAX     maximum depth value that can be stored in the multisample
                    z-buffer.

     GCBITSMSSTENCIL
                    multisample stencil size.

     GCSTEREO      stereoscopic buffer state.

     GCDOUBLE      display double buffer state.





                                                                        Page 1





getgconfig(3G)                                                  getgconfig(3G)



DESCRIPTION
     getgconfig returns the size of a buffer or a state of some buffers in the
     current buffer configuration in the current drawmode.  GCBITSZBUFFER,
     GCBITSACBUF, and GCBITSMSZBUFFER will return a negative size if the
     buffer is signed.

SEE ALSO
     gconfig, drawmode















































                                                                        Page 2



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