Contents

openGLPixelFormat

Provides access to the layer’s associated OpenGL pixel format.

Declaration

var openGLPixelFormat: NSOpenGLPixelFormat? { get set }

Discussion

Subclasses shouldn’t invoke setOpenGLPixelFormat:, but can override it if desired to intercept assignment of the layer’s pixel format.

See Also

Managing the Pixel Format