Enumeration

NSOpenGLGlobalOption

These constants are option names for NSOpenGLSetOption(_:_:) and NSOpenGLGetOption(_:_:).

Declaration

enum NSOpenGLGlobalOption : UInt32

Topics

Constants

case formatCacheSize

Sets the size of the pixel format cache.

case clearFormatCache

Resets the pixel format cache if true.

case retainRenderers

Whether to retain loaded renderers in memory.

case useBuildCache

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

Instance Properties

See Also

OpenGL

class NSOpenGLContext

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

Deprecated
class NSOpenGLLayer

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

Deprecated
class NSOpenGLPixelFormat

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

Deprecated