NSOpenGLPixelFormat 构造函数

定义

重载

NSOpenGLPixelFormat()
NSOpenGLPixelFormat(NSOpenGLPixelFormatAttribute[])
NSOpenGLPixelFormat(NSCoder)
NSOpenGLPixelFormat(NSData)
NSOpenGLPixelFormat(NSObjectFlag)
NSOpenGLPixelFormat(IntPtr)
NSOpenGLPixelFormat(Object[])
NSOpenGLPixelFormat(UInt32[])

NSOpenGLPixelFormat()

[Foundation.Export("init")]
public NSOpenGLPixelFormat ();
属性

适用于

NSOpenGLPixelFormat(NSOpenGLPixelFormatAttribute[])

public NSOpenGLPixelFormat (AppKit.NSOpenGLPixelFormatAttribute[] attribs);
new AppKit.NSOpenGLPixelFormat : AppKit.NSOpenGLPixelFormatAttribute[] -> AppKit.NSOpenGLPixelFormat

参数

适用于

NSOpenGLPixelFormat(NSCoder)

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

参数

coder
NSCoder
属性

适用于

NSOpenGLPixelFormat(NSData)

[Foundation.Export("initWithData:")]
public NSOpenGLPixelFormat (Foundation.NSData attribs);
new AppKit.NSOpenGLPixelFormat : Foundation.NSData -> AppKit.NSOpenGLPixelFormat

参数

attribs
NSData
属性

适用于

NSOpenGLPixelFormat(NSObjectFlag)

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

参数

适用于

NSOpenGLPixelFormat(IntPtr)

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

参数

handle
IntPtr

nativeint

适用于

NSOpenGLPixelFormat(Object[])

public NSOpenGLPixelFormat (params object[] attribs);
new AppKit.NSOpenGLPixelFormat : obj[] -> AppKit.NSOpenGLPixelFormat

参数

attribs
Object[]

适用于

NSOpenGLPixelFormat(UInt32[])

public NSOpenGLPixelFormat (uint[] attribs);
new AppKit.NSOpenGLPixelFormat : uint32[] -> AppKit.NSOpenGLPixelFormat

参数

attribs
UInt32[]

适用于