---
title: "makeCommandQueue(descriptor:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtldevice/makecommandqueue(descriptor:)"
---

# makeCommandQueue(descriptor:)

Creates a command queue with the provided configuration.

## Declaration

```swift
func makeCommandQueue(descriptor: MTLCommandQueueDescriptor) -> (any MTLCommandQueue)?
```

## Parameters

- `descriptor`: The configuration for the new command queue.
