<!--
{
  "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/raw",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation15TextureResourceC8SemanticO3rawyA2EmF"
  },
  "title" : "TextureResource.Semantic.raw"
}
-->

# TextureResource.Semantic.raw

Use the texture unmodified.

```
case raw
```

## Discussion

For texture properties that use the `raw` semantic, the number of
channels and values is the same as the source image. If the source
image contains color space information, RealityKit ignores it. For
`raw` textures, each individual pixel contains one floating-point
value between `0.0` and `1.0` for each channel in the source image.
For example, a grayscale source image results in a texture that
contains one value per pixel, and an RGB source image results in
three values per pixel.

---

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)