---
title: commandQueue
framework: compositorservices
role: symbol
role_heading: Instance Property
path: compositorservices/layerrenderer/commandqueue
---

# commandQueue

Returns the command queue that the layer uses for drawing operations.

## Declaration

```swift
var commandQueue: any MTL4CommandQueue { get }
```

## Discussion

Discussion Should only be called with when supporting Metal4 through configuration. cp_layer_renderer_configuration_set_supports_mtl4
