---
title: videoHDRAllowed
framework: arkit
role: symbol
role_heading: Instance Property
path: arkit/arconfiguration/videohdrallowed
---

# videoHDRAllowed

Enables high dynamic range (HDR) for the session’s camera feed.

## Declaration

```swift
var videoHDRAllowed: Bool { get set }
```

## Discussion

Discussion Before calling this function, check whether the session configuration’s video format supports HDR first by calling isVideoHDRSupported.

## See Also

### Managing video capture options

- [videoFormat](arkit/arconfiguration/videoformat-swift.property.md)
- [supportedVideoFormats](arkit/arconfiguration/supportedvideoformats.md)
- [ARConfiguration.VideoFormat](arkit/arconfiguration/videoformat-swift.class.md)
- [configurableCaptureDeviceForPrimaryCamera](arkit/arconfiguration/configurablecapturedeviceforprimarycamera.md)
- [recommendedVideoFormatFor4KResolution](arkit/arconfiguration/recommendedvideoformatfor4kresolution.md)
- [recommendedVideoFormatForHighResolutionFrameCapturing](arkit/arconfiguration/recommendedvideoformatforhighresolutionframecapturing.md)
