{"abstract":[{"text":"Enables extended dynamic range values onscreen.","type":"text"}],"hierarchy":{"paths":[["doc:\/\/com.apple.documentation\/documentation\/technologies","doc:\/\/com.apple.quartzcore\/documentation\/QuartzCore","doc:\/\/com.apple.quartzcore\/documentation\/QuartzCore\/CAMetalLayer"]]},"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/com.apple.quartzcore\/documentation\/QuartzCore\/CAMetalLayer\/wantsExtendedDynamicRangeContent"},"kind":"symbol","legalNotices":{"copyright":"Copyright &copy; 2026 Apple Inc. All rights reserved.","privacyPolicy":"https:\/\/www.apple.com\/privacy\/privacy-policy","termsOfUse":"https:\/\/www.apple.com\/legal\/internet-services\/terms\/site.html"},"metadata":{"availableLanguages":["de-DE","en-US","es-419","fr-FR","it-IT","ja-JP","ko-KR","pt-BR","zh-CN"],"externalID":"c:objc(cs)CAMetalLayer(py)wantsExtendedDynamicRangeContent","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"wantsExtendedDynamicRangeContent"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"modules":[{"name":"Core Animation"}],"navigatorTitle":[{"kind":"identifier","text":"wantsExtendedDynamicRangeContent"}],"platforms":[{"introducedAt":"16.0","name":"iOS"},{"introducedAt":"16.0","name":"iPadOS"},{"introducedAt":"16.0","name":"Mac Catalyst"},{"introducedAt":"10.11","name":"macOS"},{"introducedAt":"1.0","name":"visionOS"}],"role":"symbol","roleHeading":"Instance Property","symbolKind":"property","title":"wantsExtendedDynamicRangeContent"},"primaryContentSections":[{"declarations":[{"languages":["swift"],"platforms":["iOS","iPadOS","Mac Catalyst","macOS","visionOS"],"tokens":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"wantsExtendedDynamicRangeContent"},{"kind":"text","text":": "},{"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"},{"kind":"text","text":" { "},{"kind":"keyword","text":"get"},{"kind":"text","text":" "},{"kind":"keyword","text":"set"},{"kind":"text","text":" }"}]}],"kind":"declarations"},{"content":[{"anchor":"Discussion","level":2,"text":"Discussion","type":"heading"},{"inlineContent":[{"text":"The default value is ","type":"text"},{"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/false","isActive":true,"type":"reference"},{"text":". If any onscreen layer has this property set to ","type":"text"},{"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/true","isActive":true,"type":"reference"},{"text":", all rendered content is clamped to the screen’s ","type":"text"},{"identifier":"doc:\/\/com.apple.documentation\/documentation\/AppKit\/NSScreen\/maximumExtendedDynamicRangeColorComponentValue","isActive":true,"type":"reference"},{"text":" value rather than ","type":"text"},{"code":"1.0","type":"codeVoice"},{"text":".","type":"text"}],"type":"paragraph"}],"kind":"content"}],"schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"seeAlsoSections":[{"anchor":"Related-Documentation","identifiers":["doc:\/\/com.apple.documentation\/documentation\/AppKit\/NSScreen\/maximumExtendedDynamicRangeColorComponentValue"],"title":"Related Documentation"},{"anchor":"Configuring-Extended-Dynamic-Range-Behavior","generated":true,"identifiers":["doc:\/\/com.apple.quartzcore\/documentation\/QuartzCore\/CAMetalLayer\/edrMetadata"],"title":"Configuring Extended Dynamic Range Behavior"}],"variants":[{"paths":["\/documentation\/quartzcore\/cametallayer\/wantsextendeddynamicrangecontent"],"traits":[{"interfaceLanguage":"swift"}]},{"paths":["\/documentation\/quartzcore\/cametallayer\/wantsextendeddynamicrangecontent"],"traits":[{"interfaceLanguage":"occ"}]}],"references":{"doc://com.apple.documentation/documentation/AppKit/NSScreen/maximumExtendedDynamicRangeColorComponentValue":{"abstract":[{"text":"The current maximum color component value for the screen.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"maximumExtendedDynamicRangeColorComponentValue"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:14CoreFoundation7CGFloatV","text":"CGFloat"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/AppKit\/NSScreen\/maximumExtendedDynamicRangeColorComponentValue","kind":"symbol","role":"symbol","title":"maximumExtendedDynamicRangeColorComponentValue","type":"topic","url":"\/documentation\/appkit\/nsscreen\/maximumextendeddynamicrangecolorcomponentvalue"},"doc://com.apple.documentation/documentation/Swift/Bool":{"abstract":[{"text":"A value type whose instances are either ","type":"text"},{"code":"true","type":"codeVoice"},{"text":" or ","type":"text"},{"code":"false","type":"codeVoice"},{"text":".","type":"text"}],"fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Bool"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/Bool","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Bool"}],"role":"symbol","title":"Bool","type":"topic","url":"\/documentation\/swift\/bool"},"doc://com.apple.documentation/documentation/Swift/false":{"abstract":[{"text":"A false value.","type":"text"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/false","images":[{"identifier":"keyword-icon.svg","type":"icon"}],"kind":"symbol","navigatorTitle":[{"kind":"text","text":"false"}],"role":"symbol","title":"false","type":"topic","url":"\/documentation\/swift\/false"},"doc://com.apple.documentation/documentation/Swift/true":{"abstract":[{"text":"A true value.","type":"text"}],"identifier":"doc:\/\/com.apple.documentation\/documentation\/Swift\/true","images":[{"identifier":"keyword-icon.svg","type":"icon"}],"kind":"symbol","navigatorTitle":[{"kind":"text","text":"true"}],"role":"symbol","title":"true","type":"topic","url":"\/documentation\/swift\/true"},"doc://com.apple.documentation/documentation/technologies":{"abstract":[],"identifier":"doc:\/\/com.apple.documentation\/documentation\/technologies","kind":"technologies","role":"overview","title":"Technologies","type":"topic","url":"\/documentation\/technologies"},"doc://com.apple.quartzcore/documentation/QuartzCore":{"abstract":[{"text":"Render, compose, and animate visual elements.","type":"text"}],"identifier":"doc:\/\/com.apple.quartzcore\/documentation\/QuartzCore","kind":"symbol","navigatorTitle":[{"kind":"text","text":"Core Animation"}],"role":"collection","title":"Core Animation","type":"topic","url":"\/documentation\/quartzcore"},"doc://com.apple.quartzcore/documentation/QuartzCore/CAMetalLayer":{"abstract":[{"text":"A Core Animation layer that Metal can render into, typically displayed onscreen.","type":"text"}],"fragments":[{"kind":"keyword","text":"class"},{"kind":"text","text":" "},{"kind":"identifier","text":"CAMetalLayer"}],"identifier":"doc:\/\/com.apple.quartzcore\/documentation\/QuartzCore\/CAMetalLayer","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"CAMetalLayer"}],"role":"symbol","title":"CAMetalLayer","type":"topic","url":"\/documentation\/quartzcore\/cametallayer"},"doc://com.apple.quartzcore/documentation/QuartzCore/CAMetalLayer/edrMetadata":{"abstract":[{"text":"Metadata describing the tone mapping to apply to the extended dynamic range (EDR) values in the layer.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"edrMetadata"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"c:objc(cs)CAEDRMetadata","text":"CAEDRMetadata"},{"kind":"text","text":"?"}],"identifier":"doc:\/\/com.apple.quartzcore\/documentation\/QuartzCore\/CAMetalLayer\/edrMetadata","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"EDRMetadata"}],"role":"symbol","title":"edrMetadata","type":"topic","url":"\/documentation\/quartzcore\/cametallayer\/edrmetadata"},"doc://com.apple.quartzcore/documentation/QuartzCore/CAMetalLayer/wantsExtendedDynamicRangeContent":{"abstract":[{"text":"Enables extended dynamic range values onscreen.","type":"text"}],"fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"wantsExtendedDynamicRangeContent"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"identifier":"doc:\/\/com.apple.quartzcore\/documentation\/QuartzCore\/CAMetalLayer\/wantsExtendedDynamicRangeContent","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"wantsExtendedDynamicRangeContent"}],"role":"symbol","title":"wantsExtendedDynamicRangeContent","type":"topic","url":"\/documentation\/quartzcore\/cametallayer\/wantsextendeddynamicrangecontent"},"keyword-icon.svg":{"alt":null,"identifier":"keyword-icon.svg","type":"image","variants":[{"traits":["1x","light"],"url":"\/images\/com.apple.Swift\/keyword-icon.svg"},{"traits":["1x","dark"],"url":"\/images\/com.apple.Swift\/keyword-icon~dark.svg"}]}},"variantOverrides":[{"patch":[{"op":"replace","path":"\/identifier\/interfaceLanguage","value":"occ"},{"op":"replace","path":"\/metadata\/platforms","value":[{"introducedAt":"16.0","name":"iOS"},{"introducedAt":"16.0","name":"iPadOS"},{"introducedAt":"16.0","name":"Mac Catalyst"},{"introducedAt":"10.11","name":"macOS"},{"introducedAt":"1.0","name":"visionOS"}]},{"op":"replace","path":"\/metadata\/roleHeading","value":"Instance Property"},{"op":"replace","path":"\/metadata\/title","value":"wantsExtendedDynamicRangeContent"},{"op":"replace","path":"\/metadata\/symbolKind","value":"property"},{"op":"replace","path":"\/metadata\/fragments","value":[{"kind":"identifier","text":"wantsExtendedDynamicRangeContent"}]},{"op":"replace","path":"\/hierarchy","value":{"paths":[["doc:\/\/com.apple.documentation\/documentation\/technologies","doc:\/\/com.apple.quartzcore\/documentation\/QuartzCore","doc:\/\/com.apple.quartzcore\/documentation\/QuartzCore\/CAMetalLayer"]]}},{"op":"add","path":"\/topicSections","value":null},{"op":"add","path":"\/relationshipsSections","value":null},{"op":"replace","path":"\/seeAlsoSections","value":[{"anchor":"Related-Documentation","identifiers":["doc:\/\/com.apple.documentation\/documentation\/AppKit\/NSScreen\/maximumExtendedDynamicRangeColorComponentValue"],"title":"Related Documentation"},{"anchor":"Configuring-Extended-Dynamic-Range-Behavior","generated":true,"identifiers":["doc:\/\/com.apple.quartzcore\/documentation\/QuartzCore\/CAMetalLayer\/edrMetadata"],"title":"Configuring Extended Dynamic Range Behavior"}]},{"op":"replace","path":"\/primaryContentSections\/0","value":{"declarations":[{"languages":["occ"],"platforms":["iOS","iPadOS","Mac Catalyst","macOS","tvOS","visionOS"],"tokens":[{"kind":"keyword","text":"@property"},{"kind":"text","text":" "},{"kind":"typeIdentifier","preciseIdentifier":"c:@T@BOOL","text":"BOOL"},{"kind":"text","text":" "},{"kind":"identifier","text":"wantsExtendedDynamicRangeContent"},{"kind":"text","text":";"}]}],"kind":"declarations"}},{"op":"replace","path":"\/references\/doc:~1~1com.apple.documentation~1documentation~1AppKit~1NSScreen~1maximumExtendedDynamicRangeColorComponentValue\/fragments","value":[{"kind":"identifier","text":"maximumExtendedDynamicRangeColorComponentValue"}]},{"op":"add","path":"\/references\/doc:~1~1com.apple.documentation~1documentation~1AppKit~1NSScreen~1maximumExtendedDynamicRangeColorComponentValue\/navigatorTitle","value":[{"kind":"identifier","text":"maximumExtendedDynamicRangeColorComponentValue"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.quartzcore~1documentation~1QuartzCore~1CAMetalLayer\/title","value":"CAMetalLayer"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.quartzcore~1documentation~1QuartzCore~1CAMetalLayer\/fragments","value":[{"kind":"identifier","text":"CAMetalLayer"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.quartzcore~1documentation~1QuartzCore~1CAMetalLayer\/navigatorTitle","value":[{"kind":"identifier","text":"CAMetalLayer"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.quartzcore~1documentation~1QuartzCore~1CAMetalLayer~1edrMetadata\/title","value":"EDRMetadata"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.quartzcore~1documentation~1QuartzCore~1CAMetalLayer~1edrMetadata\/fragments","value":[{"kind":"identifier","text":"EDRMetadata"}]},{"op":"replace","path":"\/references\/doc:~1~1com.apple.quartzcore~1documentation~1QuartzCore~1CAMetalLayer~1wantsExtendedDynamicRangeContent\/title","value":"wantsExtendedDynamicRangeContent"},{"op":"replace","path":"\/references\/doc:~1~1com.apple.quartzcore~1documentation~1QuartzCore~1CAMetalLayer~1wantsExtendedDynamicRangeContent\/fragments","value":[{"kind":"identifier","text":"wantsExtendedDynamicRangeContent"}]}],"traits":[{"interfaceLanguage":"occ"}]}]}