<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSOpenGLPixelFormat/cglPixelFormatObj",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSOpenGLPixelFormat(py)CGLPixelFormatObj"
  },
  "title" : "cglPixelFormatObj"
}
-->

# cglPixelFormatObj

The low-level, platform-specific Core OpenGL (CGL) pixel format object represented by the receiver.

```
var cglPixelFormatObj: CGLPixelFormatObj? { get }
```

## Return Value

A pointer to the underlying `CGLPixelFormatObj` object.

## Discussion

---

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)