Selects the display link most optimal for the current renderer of an OpenGL context.
Original signature is 'CVReturn CVDisplayLinkSetCurrentCGDisplayFromOpenGLContext ( CVDisplayLinkRef displayLink, CGLContextObj cglContext, CGLPixelFormatObj cglPixelFormat );'
Available in Mac OS X v10.4 and later.

Declaration Syntax
public static int SetCurrentCGDisplayFromOpenGLContext(
IntPtr displayLink,
IntPtr cglContext,
IntPtr cglPixelFormat
)
Public Shared Function SetCurrentCGDisplayFromOpenGLContext ( _
displayLink As IntPtr, _
cglContext As IntPtr, _
cglPixelFormat As IntPtr _
) As Integer
public:
static int SetCurrentCGDisplayFromOpenGLContext(
IntPtr displayLink,
IntPtr cglContext,
IntPtr cglPixelFormat
)

Parameters
- displayLink (IntPtr)
- MISSING
- cglContext (IntPtr)
- MISSING
- cglPixelFormat (IntPtr)
- MISSING

Return Value
A Core Video result code. See Core Video Constants Reference for possible values.

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)