NSOpenGLView 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
NSOpenGLView() | |
NSOpenGLView(CGRect) | |
NSOpenGLView(NSCoder) | |
NSOpenGLView(NSObjectFlag) | |
NSOpenGLView(IntPtr) | |
NSOpenGLView(CGRect, NSOpenGLPixelFormat) |
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
- format
- NSOpenGLPixelFormat
- 屬性