---
title: "init(commandBuffer:descriptor:)"
framework: metalperformanceshaders
role: symbol
role_heading: Initializer
path: "metalperformanceshaders/mpstemporaryndarray/init(commandbuffer:descriptor:)"
---

# init(commandBuffer:descriptor:)

## Declaration

```swift
convenience init(commandBuffer: any MTLCommandBuffer, descriptor: MPSNDArrayDescriptor)
```
