GLContext.copy

Copy state from src rendering context to glcontext. mask contains the bitwise-OR of the same symbolic names that are passed to the glPushAttrib() function. You can use GL_ALL_ATTRIB_BITS to copy all the rendering state information.

class GLContext
int
copy

Parameters

src GLContext

the source context.

mask ulong

which portions of src state are to be copied to glcontext.

Return Value

Type: int

FALSE if it fails, TRUE otherwise.

Meta