glXQueryContext

query context information

Signature

glXQueryContext( Display * ( dpy ) , GLXContext ( ctx ) , int ( attribute ) , int * ( value ) )-> int
glXQueryContext( dpy , ctx , attribute , value ) -> <class 'ctypes.c_int'>

Parameters

VariablesDescription
dpy
Specifies the connection to the X server.
ctx
Specifies a GLX rendering context.
attribute
Specifies that a context parameter should be retrieved. Must be one of GLX_FBCONFIG_ID , GLX_RENDER_TYPE , or GLX_SCREEN .
value
Contains the return value for attribute .