table of contents
GLXQUERYDRAWABLE(3G) | OpenGL Manual | GLXQUERYDRAWABLE(3G) |
NAME¶
glXQueryDrawable - returns an attribute assoicated with a GLX drawable
C SPECIFICATION¶
int glXQueryDrawable(Display * dpy, GLXDrawable draw, int attribute, unsigned int * value);
PARAMETERS¶
dpy
draw
attribute
value
DESCRIPTION¶
glXQueryDrawable sets value to the value of attribute with respect to the GLXDrawable draw.
attribute may be one of the following:
GLX_WIDTH
GLX_HEIGHT
GLX_PRESERVED_CONTENTS
GLX_LARGEST_PBUFFER
GLX_FBCONFIG_ID
If draw is a GLXWindow or GLXPixmap and attribute is set to GLX_PRESERVED_CONTENTS or GLX_LARGETST_PBUFFER, the contents of value are undefined. If attribute is not one of the attributes listed above, the contents of value are unedfined.
ERRORS¶
A GLXBadDrawable is generated if draw is not a valid GLXDrawable.
SEE ALSO¶
glXCreateWindow(), glXCreatePixmap(), glXCreatePbuffer(), glXGetFBConfigAttrib(), glXChooseFBConfig()
COPYRIGHT¶
Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.
AUTHORS¶
opengl.org
04/12/2021 | opengl.org |