A subclass of CAOpen
that is suitable for rendering OpenGL into layers.
SDK
- macOS 10.6–10.14Deprecated
Framework
- App
Kit
Declaration
@interface NSOpenGLLayer : CAOpen GLLayer
Overview
Unlike CAOpen
, NSOpen
uses AppKit types.
A subclass of CAOpen
that is suitable for rendering OpenGL into layers.
SDK
Framework
@interface NSOpenGLLayer : CAOpen GLLayer
Unlike CAOpen
, NSOpen
uses AppKit types.
- can Draw In Open GLContext: pixel Format: for Layer Time: display Time:
Invoked to ask the layer whether it can (or should) draw.
- draw In Open GLContext: pixel Format: for Layer Time: display Time:
Draws the OpenGL content for the specified time.
open GLPixel Format
Provides access to the layer's associated NSOpenGLPixelFormat.
- open GLPixel Format For Display Mask:
Returns the OpenGL pixel format suitable for the specified displays.
open GLContext
The layer’s NSOpenGLContext.
- open GLContext For Pixel Format:
Returns the OpenGL context to use for the requested pixel format.
view
Returns the view associated with the layer.
NSOpen GLContext
An object that represents an OpenGL graphics context, into which all OpenGL calls are rendered.
NSOpen GLPixel Format
An object that specifies the types of buffers and other attributes of the NSOpen
.
NSOpen GLGlobal Option
These constants are option names for NSOpen
and NSOpen
.