Function

NSOpenGLGetVersion

Returns the NSOpenGL version numbers.

Declaration

void NSOpenGLGetVersion(GLint *major, GLint *minor);

Discussion

Returns by reference the major and minor version numbers of the NSOpenGL implementation. This function is not the same as the OpenGL version.

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
NSOpenGLSetOption

Sets global OpenGL options.

Deprecated