<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 -",
    "macOS: 10.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGDisplayGammaTableCapacity(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@F@CGDisplayGammaTableCapacity"
  },
  "title" : "CGDisplayGammaTableCapacity(_:)"
}
-->

# CGDisplayGammaTableCapacity(_:)

Returns the capacity, or number of entries, in the gamma table for a display.

```
func CGDisplayGammaTableCapacity(_ display: CGDirectDisplayID) -> UInt32
```

## Parameters

`display`

The identifier of the display to be accessed.

## Return Value

The number of entries in the gamma table for a display.

## 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)