---
title: pixelFormat
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsopenglcontext/pixelformat
---

# pixelFormat

The pixel format of the OpenGL context.

## Declaration

```swift
var pixelFormat: NSOpenGLPixelFormat { get }
```
