NAME glXQueryGLXPbufferSGIX - return an attribute associated with a GLXPbuffer C SPECIFICATION void glXQueryGLXPbufferSGIX ( Display *dpy, GLXPbuffer pbuf, int attribute, unsigned int *value) PARAMETERS dpy Specifies the connection to the X server. pbuf Specifies the GLXPbuffer. attribute Specifies attribute value to return. value Returns the requested value. DESCRIPTION glXQueryGLXPbufferSGIX returns the attribute of <pbuf>. Five attribute are defined: GLX_WIDTH_SGIX <value> returns the width of <pbuf> GLX_HEIGHT_SGIX <value> returns height of <pbuf> GLX_PRESERVED_CONTENTS_SGIX <value> returns a boolean value which specifies whether the content of <pbuf> is preserved or not when <pbuf> is lost. GLX_LARGEST_PBUFFER_SGIX <value> returns a boolean value which specifies wheteher the largest pbuffer is to be allocated when the allocation of <pbuf> fails. GLX_FBCONFIG_ID_SGIX <value> returns the i. d. of the GLXFBConfig for <pbuf>. To get the GLXFBConfig for a GLXPbuffer, first retrieve the i. d. for the FBConfig and then call glXChooseFBConfigSGIX. NOTES glXQueryGLXPbufferSGIX is part of the GLX extension SGIX_pbuffer, not part of the core GLX command set. If SGIX_pbuffer is included in the string returned by glXQueryExtensionsString, extension SGIX_pbuffer is sup- ported by the connection. ERRORS GLXBadPbufferSGIX is generated if <pbuf> is not a valid GLXPbuffer. SEE ALSO glXChooseFBConfigSGIX, glXCreateGLXPbufferSGIX, glXQueryEx- tensionsString.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |