MonobjcMonobjc Documented Class Library
CopyAttributesFromContextWithMask Method (context, mask)
NamespacesMonobjc.AppKitNSOpenGLContextCopyAttributesFromContextWithMask(NSOpenGLContext, Int32)

Copies selected groups of state variables to the receiver.

Original signature is '- (void)copyAttributesFromContext:(NSOpenGLContext *)context withMask:(GLbitfield)mask'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void CopyAttributesFromContextWithMask(
	NSOpenGLContext context,
	int mask
)
Public Overridable Sub CopyAttributesFromContextWithMask ( _
	context As NSOpenGLContext, _
	mask As Integer _
)
public:
virtual void CopyAttributesFromContextWithMask(
	NSOpenGLContext^ context, 
	int mask
)
Parameters
context (NSOpenGLContext)
The OpenGL graphics context containing the desired state variables.
mask (Int32)
A bitfield containing a bitwise OR of the same symbolic names that are passed to the OpenGL call glPushAttrib. The single symbolic constant GL_ALL_ATTRIB_BITS can be used to copy the maximum possible portion of the rendering state.
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.AppKit (Module: Monobjc.AppKit)