---
title: MTLPixelFormat.rgb16Float
framework: Metal
role: symbol
role_heading: Case
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: metal/mtlpixelformat/rgb16float
---

# MTLPixelFormat.rgb16Float

An ordinary format with three components of 16-bit floating-point values in RGB order.

## Declaration

```swift
case rgb16Float
```

## Discussion

Discussion The order of the color components in this format are red, green and blue. You can apply this format to a texture you create only with an MTLTextureDescriptor instance with all of the following property configurations: The usage property can’t include the shaderWrite option. The textureType property needs to be equal to MTLTextureType.typeTextureBuffer.
