An object that specifies the types of buffers and other attributes of the NSOpen
.
SDK
- macOS 10.0–10.14Deprecated
Framework
- App
Kit
Declaration
@interface NSOpenGLPixelFormat : NSObject
Overview
To render with OpenGL into an NSOpen
, you must specify the context’s pixel format. The NSOpen
class is similar to the AGLPixel
type.
Every NSOpen
object wraps a low-level, platform-specific Core OpenGL (CGL) pixel format object. Your application can retrieve the CGL pixel format object by calling the CGLPixel
method. For more information on the underling CGL pixel format object, see CGL.