---
title: "descriptor(for:)"
framework: metal
role: symbol
role_heading: Instance Method
path: "metal/mtltensorauxiliaryplanedescriptormap/descriptor(for:)"
---

# descriptor(for:)

Returns the auxiliary plane descriptor for the given plane type, or nil if none has been set.

## Declaration

```swift
func descriptor(for plane: MTLTensorPlaneType) -> MTLTensorAuxiliaryPlaneDescriptor?
```

## Parameters

- `plane`: The plane type to look up.

## Return Value

Return Value The descriptor for the given plane type, or nil.
