<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CAEDRMetadata",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(cs)CAEDRMetadata"
  },
  "title" : "CAEDRMetadata"
}
-->

# CAEDRMetadata

Metadata describing how extended dynamic range (EDR) values should be tone mapped.

```
class CAEDRMetadata
```

## Overview

If you need specific tone-mapping behavior, set the [`edrMetadata`](/documentation/QuartzCore/CAMetalLayer/edrMetadata) property of a [`CAMetalLayer`](/documentation/QuartzCore/CAMetalLayer) to point to an instance of this class.

## Topics

### Retrieving Hybrid-Log Gamma Metadata

[`hlg`](/documentation/QuartzCore/CAEDRMetadata/hlg)

Extended dynamic range (EDR) metadata for the Hybrid Log-Gamma (HLG) transfer function.

### Retrieving HDR10 Metadata

[`hdr10(displayInfo:contentInfo:opticalOutputScale:)`](/documentation/QuartzCore/CAEDRMetadata/hdr10(displayInfo:contentInfo:opticalOutputScale:))

Creates EDR metadata for HDR10 content based on mastering display color information and content light levels.

[`hdr10(minLuminance:maxLuminance:opticalOutputScale:)`](/documentation/QuartzCore/CAEDRMetadata/hdr10(minLuminance:maxLuminance:opticalOutputScale:))

Creates EDR metadata for HDR10 content based on the luminance characteristics of a mastering display.

### Type Properties

[`isAvailable`](/documentation/QuartzCore/CAEDRMetadata/isAvailable)

### Type Methods

[`hlg(ambientViewingEnvironment:)`](/documentation/QuartzCore/CAEDRMetadata/hlg(ambientViewingEnvironment:))



---

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)