---
title: "init(width:height:depth:)"
framework: metalperformanceshaders
role: symbol
role_heading: Initializer
path: "metalperformanceshaders/mpssize/init(width:height:depth:)"
---

# init(width:height:depth:)

## Declaration

```swift
init(width: Double, height: Double, depth: Double)
```
