---
title: makeCommandBufferWithUnretainedReferences()
framework: metal
role: symbol
role_heading: Instance Method
path: metal/mtliocommandqueue/makecommandbufferwithunretainedreferences()
---

# makeCommandBufferWithUnretainedReferences()

Creates an input/output command buffer for the command queue that doesn’t retain the instances you pass to its methods.

## Declaration

```swift
func makeCommandBufferWithUnretainedReferences() -> any MTLIOCommandBuffer
```

## See Also

### Creating a input/output command buffer

- [makeCommandBuffer()](metal/mtliocommandqueue/makecommandbuffer().md)
