MonobjcMonobjc Documented Class Library
CopyContext Method (src, dst, mask)
NamespacesMonobjc.OpenGLCGLCopyContext(IntPtr, IntPtr, Int32)

Copies the specified state variables from one rendering context to another.

Original signature is 'CGLError CGLCopyContext ( CGLContextObj src, CGLContextObj dst, GLbitfield mask );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CGLError CopyContext(
	IntPtr src,
	IntPtr dst,
	int mask
)
Public Shared Function CopyContext ( _
	src As IntPtr, _
	dst As IntPtr, _
	mask As Integer _
) As CGLError
public:
static CGLError CopyContext(
	IntPtr src, 
	IntPtr dst, 
	int mask
)
Parameters
src (IntPtr)
MISSING
dst (IntPtr)
MISSING
mask (Int32)
MISSING
Return Value
A result code. See “CGL Result Codes.”
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.OpenGL (Module: Monobjc.OpenGL)