Type Method

defaultPixelFormat()

Returns a default NSOpenGLPixelFormat object.

Declaration

class func defaultPixelFormat() -> NSOpenGLPixelFormat

Return Value

A pixel format object with no attributes set.

Discussion

Typically used with the initializer init(frame:pixelFormat:), this object has no attributes set.

See Also

Managing the NSOpenGLPixelFormat

var pixelFormat: NSOpenGLPixelFormat?

The NSOpenGLPixelFormat object associated with the receiver.

Deprecated