---
title: allowedDynamicRange
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/imagerenderer/alloweddynamicrange
---

# allowedDynamicRange

The allowed dynamic range of the image, or nil to mark that the dynamic range of the image should be unrestricted. This property defaults to sdr, i.e. HDR content will be tone mapped to SDR.

## Declaration

```swift
@MainActor final var allowedDynamicRange: Image.DynamicRange? { get set }
```

## See Also

### Accessing renderer properties

- [proposedSize](swiftui/imagerenderer/proposedsize.md)
- [scale](swiftui/imagerenderer/scale.md)
- [isOpaque](swiftui/imagerenderer/isopaque.md)
- [colorMode](swiftui/imagerenderer/colormode.md)
