共用方式為


NSOpenGLContext 建構函式

定義

多載

NSOpenGLContext(NSObjectFlag)
NSOpenGLContext(IntPtr)
NSOpenGLContext(NSOpenGLPixelFormat, NSOpenGLContext)

NSOpenGLContext(NSObjectFlag)

protected NSOpenGLContext (Foundation.NSObjectFlag t);
new AppKit.NSOpenGLContext : Foundation.NSObjectFlag -> AppKit.NSOpenGLContext

參數

適用於

NSOpenGLContext(IntPtr)

protected internal NSOpenGLContext (IntPtr handle);
new AppKit.NSOpenGLContext : nativeint -> AppKit.NSOpenGLContext

參數

handle
IntPtr

nativeint

適用於

NSOpenGLContext(NSOpenGLPixelFormat, NSOpenGLContext)

[Foundation.Export("initWithFormat:shareContext:")]
public NSOpenGLContext (AppKit.NSOpenGLPixelFormat format, AppKit.NSOpenGLContext shareContext);
new AppKit.NSOpenGLContext : AppKit.NSOpenGLPixelFormat * AppKit.NSOpenGLContext -> AppKit.NSOpenGLContext

參數

shareContext
NSOpenGLContext
屬性

適用於