Contents

NSOpenGLCPSwapRectangleEnable

Enables or disables the swap rectangle in the context’s drawable object.

Declaration

static const NSOpenGLContextParameter NSOpenGLCPSwapRectangleEnable;

Discussion

If enabled, the area that is affected by the flushBuffer() method is restricted to a rectangle specified by the values of NSOpenGLCPSwapRectangle. However, the portion of the drawable object that lies outside of the swap rectangle may still be flushed to the screen by a visibility change or other user interface action.

See Also

Deprecated