---
title: pixelFormat
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/textureresource/pixelformat
---

# pixelFormat

The texture’s pixel format.

## Declaration

```swift
@MainActor @preconcurrency var pixelFormat: MTLPixelFormat { get }
```

## See Also

### Describing the texture

- [textureType](realitykit/textureresource/texturetype.md)
- [height](realitykit/textureresource/height.md)
- [width](realitykit/textureresource/width.md)
- [depth](realitykit/textureresource/depth.md)
- [arrayLength](realitykit/textureresource/arraylength.md)
- [mipmapLevelCount](realitykit/textureresource/mipmaplevelcount.md)
- [semantic](realitykit/textureresource/semantic-swift.property.md)
