---
title: requiredThreadsPerObjectThreadgroup
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlmeshrenderpipelinedescriptor/requiredthreadsperobjectthreadgroup
---

# requiredThreadsPerObjectThreadgroup

## Declaration

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

## Discussion

Discussion Sets the required object threads-per-threadgroup during mesh draws. The threadsPerObjectThreadgroup 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
