---
title: requiredThreadsPerThreadgroup
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlcomputepipelinestate/requiredthreadsperthreadgroup
---

# requiredThreadsPerThreadgroup

## Declaration

```swift
var requiredThreadsPerThreadgroup: MTLSize { get }
```

## Discussion

Discussion The required size of every compute threadgroup.
