<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLAttributeFormat/floatRGB9E5",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@E@MTLAttributeFormat@MTLAttributeFormatFloatRGB9E5"
  },
  "title" : "MTLAttributeFormat.floatRGB9E5"
}
-->

# MTLAttributeFormat.floatRGB9E5

One packed 32-bit value representing pixel data containing 9-bit float red, green, and blue channels, and a 5-bit float shared exponent channel.

```
case floatRGB9E5
```

## Discussion

This data format is identical to [`MTLPixelFormat.rgb9e5Float`](/documentation/Metal/MTLPixelFormat/rgb9e5Float), and used in compute functions for manipulating pixels.

---

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)