---
title: CGDisplayConfigRef
framework: coregraphics
role: symbol
role_heading: Type Alias
path: coregraphics/cgdisplayconfigref
---

# CGDisplayConfigRef

A reference to a display configuration transaction.

## Declaration

```swift
typealias CGDisplayConfigRef = OpaquePointer
```

## Discussion

Discussion This data type makes it possible to: Create a new display configuration transaction using the function CGBeginDisplayConfiguration(_:) Record a set of configuration changes, each bound to one or more displays Apply the changes in a single transaction using the function CGCompleteDisplayConfiguration(_:_:), or discard the changes using the function CGCancelDisplayConfiguration(_:) There are no restrictions on the order in which you accumulate configuration changes in a transaction. Configuration changes sometimes conflict with each other. For example, a new origin might be rendered invalid by a subsequent configuration change. If possible, Quartz uses a “best fit” strategy to resolve conflicts between configuration changes. For example, when you change the resolution of a single display in a two-display system, Quartz automatically retiles the displays to prevent separation or overlap of the adjoining edges.

## See Also

### Data Types

- [CGButtonCount](coregraphics/cgbuttoncount.md)
- [CGCharCode](coregraphics/cgcharcode.md)
- [CGDirectDisplayID](coregraphics/cgdirectdisplayid.md)
- [CGDisplayBlendFraction](coregraphics/cgdisplayblendfraction.md)
- [CGDisplayCount](coregraphics/cgdisplaycount.md)
- [CGDisplayErr](coregraphics/cgdisplayerr.md)
- [CGDisplayFadeInterval](coregraphics/cgdisplayfadeinterval.md)
- [CGDisplayFadeReservationToken](coregraphics/cgdisplayfadereservationtoken.md)
- [CGDisplayMode](coregraphics/cgdisplaymode.md)
- [CGDisplayReconfigurationCallBack](coregraphics/cgdisplayreconfigurationcallback.md)
- [CGDisplayReservationInterval](coregraphics/cgdisplayreservationinterval.md)
- [CGDisplayStream](coregraphics/cgdisplaystream.md)
- [CGDisplayStreamFrameAvailableHandler](coregraphics/cgdisplaystreamframeavailablehandler.md)
- [CGDisplayStreamUpdate](coregraphics/cgdisplaystreamupdate.md)
- [CGEvent](coregraphics/cgevent.md)
