Contents

MTLPixelFormat.bgr10a2Unorm

A 32-bit packed pixel format with four normalized unsigned integer components: 10-bit blue, 10-bit green, 10-bit red, and 2-bit alpha.

Declaration

case bgr10a2Unorm

Discussion

Pixel data is stored in blue, green, red, and alpha order, from least significant bit to most significant bit.

[Image]

On devices with a wide color display, use this format instead of MTLPixelFormat.bgra8Unorm to reduce banding artifacts in your displayed content.

See Also

Packed 32-bit pixel formats