<!--
{
  "availability" : [
    "macOS: 10.11.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSOpenGLView/wantsExtendedDynamicRangeOpenGLSurface",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSOpenGLView(py)wantsExtendedDynamicRangeOpenGLSurface"
  },
  "title" : "wantsExtendedDynamicRangeOpenGLSurface"
}
-->

# wantsExtendedDynamicRangeOpenGLSurface

Enables extended dynamic range values on the screen.

```
var wantsExtendedDynamicRangeOpenGLSurface: Bool { get set }
```

## Discussion

If any view on the screen has this enabled, the screen which the OpenGL surface is on may have its `maximumExtendedDynamicRangeColorComponentValue` value increased. When composited by the Window Server, color values rendered by this OpenGL surface will be clamped to the screen’s `maximumExtendedDynamicRangeColorComponentValue` value rather than `1.0`.

## See Also

[`maximumExtendedDynamicRangeColorComponentValue`](/documentation/AppKit/NSScreen/maximumExtendedDynamicRangeColorComponentValue)

The current maximum color component value for the screen.



---

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)