getgconfig(3G)
getgconfig - gets the size of a buffer or a state in the current buffer configuration
As shipped in IRIX 6.5.19. Unchanged since IRIX 6.5.
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. GC_BITS_CMODE color index size. zero indicates RGB mode. GC_BITS_RED red component size. GC_BITS_GREEN green component size. GC_BITS_BLUE blue component size. GC_BITS_ALPHA alpha component size. GC_BITS_ZBUFFER zbuffer size. GC_ZMIN minimum depth value that can be stored in the z-buffer. GC_ZMAX maximum depth value that can be stored in the z-buffer. GC_BITS_STENCIL stencil size. GC_BITS_ACBUF accumulation buffer size. GC_MS_SAMPLES number of samples in the multisample buffer. GC_BITS_MS_ZBUFFER multisample zbuffer size. GC_MS_ZMIN minimum depth value that can be stored in the multisample z-buffer. GC_MS_ZMAX maximum depth value that can be stored in the multisample z-buffer. GC_BITS_MS_STENCIL multisample stencil size. GC_STEREO stereoscopic buffer state. GC_DOUBLE display double buffer state. DESCRIPTION getgconfig returns the size of a buffer or a state of some buffers in the current buffer configuration in the current drawmode. GC_BITS_ZBUFFER, GC_BITS_ACBUF, and GC_BITS_MS_ZBUFFER will return a negative size if the buffer is signed. SEE ALSO gconfig, drawmode