MonobjcMonobjc Documented Class Library
CopyCGLContextForPixelFormat Method (pixelFormat)
NamespacesMonobjc.QuartzCoreCAOpenGLLayerCopyCGLContextForPixelFormat(IntPtr)

Returns the rendering context the receiver requires for the specified pixel format.

Original signature is '- (CGLContextObj)copyCGLContextForPixelFormat:(CGLPixelFormatObj)pixelFormat'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual IntPtr CopyCGLContextForPixelFormat(
	IntPtr pixelFormat
)
Public Overridable Function CopyCGLContextForPixelFormat ( _
	pixelFormat As IntPtr _
) As IntPtr
public:
virtual IntPtr CopyCGLContextForPixelFormat(
	IntPtr pixelFormat
)
Parameters
pixelFormat (IntPtr)
The pixel format for the rendering context.
Return Value
A new CGLContext with renderers for pixelFormat.
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)