glXCreatePbuffer

create an off-screen rendering area

Signature

glXCreatePbuffer( Display * ( dpy ) , GLXFBConfig ( config ) , const int * ( attrib_list ) )-> GLXPbuffer
glXCreatePbuffer( dpy , config , attrib_list ) -> <class 'ctypes.c_ulong'>

Parameters

VariablesDescription
dpy
Specifies the connection to the X server.
config
Specifies a GLXFBConfig structure with the desired attributes for the window.
attrib_list
Specifies a list of attribute value pairs, which must be terminated with None or NULL . Accepted attributes are GLX_PBUFFER_WIDTH , GLX_PBUFFER_HEIGHT , GLX_PRESERVED_CONTENTS , and GLX_LARGEST_PBUFFER .