PDA

View Full Version : attributeList



everyprincess
08-03-2004, 11:36 AM
Can anyone tell me about
BLX_BUFFER_SIZE, 3,
GLX_RED_SIZE, 1,
GLX_GREEN_SIZE, 1,
GLX_BLUE_SIZE, 1,
GLX_ALPHA_SIZE,1,
GLX_ACCUM_RED_SIZE,1,
GLX_ACCUM_BLUE_SIZE,1,
GLX_ACCUM_GREEN_SIZE,1,
GLX_ACCUM_ALPHA_SIZE, 1,
GLX_DEPTH_SIZE,1,
GLX_STENCIL_SIZE,1

and what the numbers mean, i know that they are connected to the size, but i'm not sure how to use them very well. How does one know what number the size should be? I know that i need them but i don't know what the numbers mean (like the size). Thanx.

Sumpfratte
08-04-2004, 01:08 AM
Hi,

According to the glx reference in the "blue book" (http://biology.ncsa.uiuc.edu/cgi-bin/infosrch.cgi?cmd=getdoc&coll=0650&db=bks&fname=/SGI_Developer/OpenGL_RM/46556)
the numbers represents the number of bits each component of one pixel has f.e. in the color buffer.

Sumpfratte