---
title: pixelFormat
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lowleveltexture/descriptor-swift.struct/pixelformat
---

# pixelFormat

The size and bit layout of all pixels in the texture.

## Declaration

```swift
var pixelFormat: MTLPixelFormat
```
