Enumeration

NSOpenGLGlobalOption

These constants are option names for NSOpenGLSetOption and NSOpenGLGetOption.

Declaration

typedef enum NSOpenGLGlobalOption : uint32_t {
    ...
} NSOpenGLGlobalOption;

Topics

Constants

NSOpenGLGOFormatCacheSize

Sets the size of the pixel format cache.

NSOpenGLGOClearFormatCache

Resets the pixel format cache if true.

NSOpenGLGORetainRenderers

Whether to retain loaded renderers in memory.

NSOpenGLGOUseBuildCache

Whether to enable the function compilation block cache. This is off by default. It must be enabled at startup.

NSOpenGLGOResetLibrary

Does a soft reset of the CGL library if true.

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
NSOpenGLGetOption

Returns global OpenGL options.

Deprecated
NSOpenGLGetVersion

Returns the NSOpenGL version numbers.

Deprecated
NSOpenGLSetOption

Sets global OpenGL options.

Deprecated