glXGetConfig

return information about GLX visuals

Signature

glXGetConfig( Display * ( dpy ) , XVisualInfo * ( vis ) , int ( attrib ) , int * ( value ) )-> int
glXGetConfig( dpy , visual , attrib , value ) -> <class 'ctypes.c_int'>

Parameters

VariablesDescription
dpy
Specifies the connection to the X server.
vis
Specifies the visual to be queried. It is a pointer to an XVisualInfo structure, not a visual ID or a pointer to a Visual .
attrib
Specifies the visual attribute to be returned.
value
Returns the requested value.