---
title: MTLPixelFormat.invalid
framework: metal
role: symbol
role_heading: Case
path: metal/mtlpixelformat/invalid
---

# MTLPixelFormat.invalid

The default value of the pixel format for the MTLRenderPipelineState. You cannot create a texture with this value.

## Declaration

```swift
case invalid
```
