Instance Method

openGLPixelFormat()

Returns the OpenGL pixel format used by the view.

Declaration

func openGLPixelFormat() -> NSOpenGLPixelFormat!

Return Value

An NSOpenGLPixelFormat object.

Discussion

This pixel format as a read-only object. Do not attempt to change any of its settings.

See Also

Working With OpenGL

func openGLContext() -> NSOpenGLContext!

Returns the OpenGL context used by the view.

Deprecated