---
title: pixelFormat
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtltextureviewdescriptor/pixelformat
---

# pixelFormat

## Declaration

```swift
var pixelFormat: MTLPixelFormat { get set }
```

## Discussion

Discussion A desired pixel format of a texture view.
