---
title: PGDisplayModeChangeHandler
framework: Paravirtualized Graphics
role: symbol
role_heading: Type Alias
platforms: [Mac Catalyst 14.0+, macOS 11.0+]
path: paravirtualizedgraphics/pgdisplaymodechangehandler
---

# PGDisplayModeChangeHandler

The block signature for a routine that handles changes to the display’s graphics mode.

## Declaration

```swift
typealias PGDisplayModeChangeHandler = (PGDisplayCoord_t, OSType) -> Void
```

## Parameters

- `sizeInPixels`: The dimensions of the new display mode.
- `pixelFormat`: The pixel format of the new display mode.

## See Also

### Handling Mode Changes

- [modeChangeHandler](paravirtualizedgraphics/pgdisplaydescriptor/modechangehandler.md)
