---
title: MTLAttributeFormat.floatRGB9E5
framework: metal
role: symbol
role_heading: Case
path: metal/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.

## Declaration

```swift
case floatRGB9E5
```

## Discussion

Discussion This data format is identical to MTLPixelFormat.rgb9e5Float, and used in compute functions for manipulating pixels.

## See Also

### 32-bit floating-point formats

- [MTLAttributeFormat.float](metal/mtlattributeformat/float.md)
- [MTLAttributeFormat.float2](metal/mtlattributeformat/float2.md)
- [MTLAttributeFormat.float3](metal/mtlattributeformat/float3.md)
- [MTLAttributeFormat.float4](metal/mtlattributeformat/float4.md)
- [MTLAttributeFormat.floatRG11B10](metal/mtlattributeformat/floatrg11b10.md)
