<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/TextureResource/Semantic-swift.enum/hdrColor",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation15TextureResourceC8SemanticO8hdrColoryA2EmF"
  },
  "title" : "TextureResource.Semantic.hdrColor"
}
-->

# TextureResource.Semantic.hdrColor

Use the texture to store a high-dynamic range image.

```
case hdrColor
```

## Discussion

Properties that specify a semantic of `hdrColor` use the texture to
store high-dynamic range RGB color data. If the source image
contains color space information, RealityKit modifies the individual
pixels to fit the color space. If the source image is grayscale,
RealityKit converts it to an RGB image first.

---

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)