---
title: MTLPixelFormat.rgb8Uint
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/rgb8uint
---

# MTLPixelFormat.rgb8Uint

An ordinary format with three components of 8-bit unsigned integer values in RGB order.

## Declaration

```swift
case rgb8Uint
```

## 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.
