NSOpen class gives Cocoa OpenGL implementations access to accelerated offscreen rendering. With this offscreen rendering you could, for instance, draw into the pixel buffer, then use the contents as a texture map elsewhere. Typically you initialize an
NSOpen object using the
init method and attach the resulting object to an OpenGL context with the
set method of
- macOS 10.2–10.7Deprecated
NSOpen object wraps a low-level, platform-specific Core OpenGL (CGL) pixel buffer object. Your application can retrieve the CGL pixel buffer by calling the
CGLPBuffer method. For more information on the underling CGL pixel buffer, see CGL.