---
title: threadgroupMemoryLength
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4renderpassdescriptor/threadgroupmemorylength
---

# threadgroupMemoryLength

Assigns the per-tile size, in bytes, of the persistent threadgroup memory allocation of this render pass.

## Declaration

```swift
var threadgroupMemoryLength: Int { get set }
```
