<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: 10.0.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSOpenGLCPRasterizationEnable",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSOpenGLCPRasterizationEnable"
  },
  "title" : "NSOpenGLCPRasterizationEnable"
}
-->

# NSOpenGLCPRasterizationEnable

If disabled, all rasterization of 2D and 3D primitives is disabled.

```
static const NSOpenGLContextParameter NSOpenGLCPRasterizationEnable;
```

## Discussion

This state is useful for debugging and to characterize the performance of an OpenGL driver without actually rendering.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)