Class

CAEDRMetadata

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

Declaration

class CAEDRMetadata : NSObject

Overview

If you need specific tone-mapping behavior, set the edrMetadata property of a CAMetalLayer to point to an instance of this class.

Topics

Retrieving Hybrid-Log Gamma Metadata

class var hlg: CAEDRMetadata

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

Retrieving HDR10 Metadata

class func hdr10(displayInfo: Data?, contentInfo: Data?, opticalOutputScale: Float) -> CAEDRMetadata

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

class func hdr10(minLuminance: Float, maxLuminance: Float, opticalOutputScale: Float) -> CAEDRMetadata

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

Relationships

Inherits From

Conforms To

See Also

Metal and OpenGL

class CAMetalLayer

A layer that manages a pool of Metal drawables.

protocol CAMetalDrawable

A displayable resource that can be rendered or written to by Metal.

class CAEAGLLayer

A layer that supports drawing OpenGL content in iOS and tvOS applications.

Deprecated
class CAOpenGLLayer

A layer that provides a layer suitable for rendering OpenGL content.

Deprecated
class CARenderer

A layer that allows an application to render a layer tree into a Core OpenGL context.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software