Function

NSOpenGLSetOption

Sets global OpenGL options.

Declaration

void NSOpenGLSetOption(NSOpenGLGlobalOption pname, GLint param);

Discussion

Sets the value of the global OpenGL parameter pname to param. The available options are enumerated by the NSOpenGLGlobalOption type.

See Also

OpenGL

NSOpenGLContext

An object that represents an OpenGL graphics context, into which all OpenGL calls are rendered.

Deprecated
NSOpenGLLayer

A subclass of CAOpenGLLayer that is suitable for rendering OpenGL into layers.

Deprecated
NSOpenGLPixelBuffer

An object that provides access to accelerated offscreen rendering.

Deprecated
NSOpenGLPixelFormat

An object that specifies the types of buffers and other attributes of the NSOpenGLContext.

Deprecated
NSOpenGLGlobalOption

These constants are option names for NSOpenGLSetOption and NSOpenGLGetOption.

Deprecated
NSOpenGLGetOption

Returns global OpenGL options.

Deprecated
NSOpenGLGetVersion

Returns the NSOpenGL version numbers.

Deprecated