---
title: cglPixelFormatObj
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsopenglpixelformat/cglpixelformatobj
---

# cglPixelFormatObj

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

## Declaration

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

## Return Value

Return Value A pointer to the underlying CGLPixelFormatObj object.

## See Also

### Managing the Pixel Format

- [getValues(_:forAttribute:forVirtualScreen:)](appkit/nsopenglpixelformat/getvalues(_:forattribute:forvirtualscreen:).md)
- [numberOfVirtualScreens](appkit/nsopenglpixelformat/numberofvirtualscreens.md)
