<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVImageBufferAttachmentKeyDefinitions/ambientViewingEnvironment",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Core Video",
      "CoreVideo"
    ],
    "preciseIdentifier" : "s:9CoreVideo37CVImageBufferAttachmentKeyDefinitionsPAAE25ambientViewingEnvironmentAA012CVAttachmentF10DefinitionVyAA0K29ModePreferenceShouldPropagateO10Foundation4DataVGvpZ"
  },
  "title" : "ambientViewingEnvironment"
}
-->

# ambientViewingEnvironment

The ambient viewing environment for the image.
The value for this key is an 8 byte big-endian data sequence to match the payload of the Ambient Viewing Environment SEI message.

```
static var ambientViewingEnvironment: CVAttachmentKeyDefinition<Self.ShouldPropagate, Data> { get }
```

---

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)