glXGetFBConfigs

list all GLX frame buffer configurations for a given screen

Signature

glXGetFBConfigs( Display * ( dpy ) , int ( screen ) , int * ( nelements ) )-> GLXFBConfig *
glXGetFBConfigs( dpy , screen , nelements ) -> <class 'OpenGL.raw.GLX.VERSION.GLX_1_3.LP_LP_struct___GLXFBConfigRec'>

Parameters

VariablesDescription
dpy
Specifies the connection to the X server.
screen
Specifies the screen number.
nelements
Returns the number of GLXFBConfigs returned.

Description

glXGetFBConfigs returns a list of all GLXFBConfigs available on the screen specified by screen . Use glXGetFBConfigAttrib to obtain attribute values from a specific GLXFBConfig.

Notes

glXGetFBConfigs is available only if the GLX version is 1.3 or greater.
If the GLX version is 1.1 or 1.0, the GL version must be 1.0. If the GLX version is 1.2, then the GL version must be 1.1. If the GLX version is 1.3, then the GL version must be 1.2.

See Also