MonobjcMonobjc Documented Class Library
ContextWithCGLContextPixelFormatOptions Method (ctx, pf, dict)
NamespacesMonobjc.QuartzCoreCIContextContextWithCGLContextPixelFormatOptions(IntPtr, IntPtr, NSDictionary)

Creates a Core Image context from a CGL context, using the specified options and pixel format object. (Deprecated in Mac OS X v10.6.)

Original signature is '+ (CIContext *)contextWithCGLContext:(CGLContextObj)ctx pixelFormat:(CGLPixelFormatObj)pf options:(NSDictionary *)dict'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.6.")]
public static CIContext ContextWithCGLContextPixelFormatOptions(
	IntPtr ctx,
	IntPtr pf,
	NSDictionary dict
)
<ObsoleteAttribute("Deprecated in Mac OS X v10.6.")> _
Public Shared Function ContextWithCGLContextPixelFormatOptions ( _
	ctx As IntPtr, _
	pf As IntPtr, _
	dict As NSDictionary _
) As CIContext
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.6.")]
public:
static CIContext^ ContextWithCGLContextPixelFormatOptions(
	IntPtr ctx, 
	IntPtr pf, 
	NSDictionary^ dict
)
Parameters
ctx (IntPtr)
A CGL context (CGLContextObj object) obtain by calling the CGL function CGLCreateContext.
pf (IntPtr)
A CGL pixel format object (CGLPixelFormatObj object) created by calling the CGL function CGLChoosePixelFormat. This argument must be the same pixel format object used to create the CGL context. The pixel format object must be valid for the lifetime of the Core Image context. Don’t release the pixel format object until after you release the Core Image context.
dict (NSDictionary)
MISSING
Return Value

[Missing <returns> documentation for "M:Monobjc.QuartzCore.CIContext.ContextWithCGLContextPixelFormatOptions(System.IntPtr,System.IntPtr,Monobjc.Foundation.NSDictionary)"]

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)