---
title: requiredThreadsPerMeshThreadgroup
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlmeshrenderpipelinedescriptor/requiredthreadspermeshthreadgroup
---

# requiredThreadsPerMeshThreadgroup

## Declaration

```swift
var requiredThreadsPerMeshThreadgroup: MTLSize { get set }
```

## Discussion

Discussion Sets the required mesh threads-per-threadgroup during mesh draws. The threadsPerMeshThreadgroup argument of any draw must match to this value if it is set. Setting this to a size of 0 in every dimension disables this property
