---
title: "init(width:height:ofType:)"
framework: accelerate
role: symbol
role_heading: Initializer
path: "accelerate/vdsp/fft2d/init(width:height:oftype:)"
---

# init(width:height:ofType:)

Initializes a new fast Fourier transform instance for 2D FFT.

## Declaration

```swift
required init?(width: Int, height: Int, ofType: T.Type)
```
