---
title: maxTotalThreadsPerThreadgroup
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrenderpipelinestate/maxtotalthreadsperthreadgroup
---

# maxTotalThreadsPerThreadgroup

The largest number of threads the pipeline state can have in a single tile shader threadgroup.

## Declaration

```swift
var maxTotalThreadsPerThreadgroup: Int { get }
```

## See Also

### Checking tile shader memory requirements

- [threadgroupSizeMatchesTileSize](metal/mtlrenderpipelinestate/threadgroupsizematchestilesize.md)
- [imageblockSampleLength](metal/mtlrenderpipelinestate/imageblocksamplelength.md)
- [imageblockMemoryLength(forDimensions:)](metal/mtlrenderpipelinestate/imageblockmemorylength(fordimensions:).md)
