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

# makeArgumentTable(descriptor:)

Creates a new argument table from an argument table descriptor.

## Declaration

```swift
func makeArgumentTable(descriptor: MTL4ArgumentTableDescriptor) throws -> any MTL4ArgumentTable
```

## Parameters

- `descriptor`: A doc://com.apple.metal/documentation/Metal/MTL4ArgumentTableDescriptor instance that configures the doc://com.apple.metal/documentation/Metal/MTL4ArgumentTable instance.

## Mentioned in

Understanding the Metal 4 core API

## Return Value

Return Value A MTL4ArgumentTable instance, or nil if the function failed.
