---
title: objectThreadExecutionWidth
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrenderpipelinestate/objectthreadexecutionwidth
---

# objectThreadExecutionWidth

The number of threads the render pass applies to a SIMD group for an object shader.

## Declaration

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

## Discussion

Discussion You can access the value of this property in your shader code by adding an integer parameter with the [[threads_per_simdgroup]] attribute. For more information about this attribute, see the Metal Shading Language Specification (PDF).

## See Also

### Checking object shader memory requirements

- [maxTotalThreadsPerObjectThreadgroup](metal/mtlrenderpipelinestate/maxtotalthreadsperobjectthreadgroup.md)
