Returns the OpenGL context to use for the requested pixel format.
Original signature is '- (NSOpenGLContext *)openGLContextForPixelFormat:(NSOpenGLPixelFormat *)pixelFormat'
Available in Mac OS X v10.6 and later.

C# | Visual Basic | Visual C++ |
public virtual NSOpenGLContext OpenGLContextForPixelFormat( NSOpenGLPixelFormat pixelFormat )
Public Overridable Function OpenGLContextForPixelFormat ( _ pixelFormat As NSOpenGLPixelFormat _ ) As NSOpenGLContext
public: virtual NSOpenGLContext^ OpenGLContextForPixelFormat( NSOpenGLPixelFormat^ pixelFormat )

- pixelFormat (NSOpenGLPixelFormat)
- The pixel format.

An autoreleased NSOpenGLContext.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)