getgconfig(3G) getgconfig(3G)
getgconfig - gets the size of a buffer or a state in the current buffer
configuration
long getgconfig(long buffer)
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 [Toc] [Back]
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 [Toc] [Back]
stencil size.
GC_BITS_ACBUF accumulation buffer size.
GC_MS_SAMPLES number of samples in the multisample buffer.
GC_BITS_MS_ZBUFFER [Toc] [Back]
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 [Toc] [Back]
multisample stencil size.
GC_STEREO stereoscopic buffer state.
GC_DOUBLE display double buffer state.
Page 1
getgconfig(3G) getgconfig(3G)
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.
gconfig, drawmode
PPPPaaaaggggeeee 2222 [ Back ]
|