共用方式為


NSOpenGLView 建構函式

定義

多載

NSOpenGLView()
NSOpenGLView(CGRect)
NSOpenGLView(NSCoder)
NSOpenGLView(NSObjectFlag)
NSOpenGLView(IntPtr)
NSOpenGLView(CGRect, NSOpenGLPixelFormat)

NSOpenGLView()

[Foundation.Export("init")]
public NSOpenGLView ();
屬性

適用於

NSOpenGLView(CGRect)

[Foundation.Export("initWithFrame:")]
public NSOpenGLView (CoreGraphics.CGRect frameRect);
new AppKit.NSOpenGLView : CoreGraphics.CGRect -> AppKit.NSOpenGLView

參數

frameRect
CGRect
屬性

適用於

NSOpenGLView(NSCoder)

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSOpenGLView (Foundation.NSCoder coder);
new AppKit.NSOpenGLView : Foundation.NSCoder -> AppKit.NSOpenGLView

參數

coder
NSCoder
屬性

適用於

NSOpenGLView(NSObjectFlag)

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

參數

適用於

NSOpenGLView(IntPtr)

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

參數

handle
IntPtr

nativeint

適用於

NSOpenGLView(CGRect, NSOpenGLPixelFormat)

[Foundation.Export("initWithFrame:pixelFormat:")]
public NSOpenGLView (CoreGraphics.CGRect frameRect, AppKit.NSOpenGLPixelFormat format);
new AppKit.NSOpenGLView : CoreGraphics.CGRect * AppKit.NSOpenGLPixelFormat -> AppKit.NSOpenGLView

參數

frameRect
CGRect
屬性

適用於