---
title: meshThreadExecutionWidth
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrenderpipelinestate/meshthreadexecutionwidth
---

# meshThreadExecutionWidth

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

## Declaration

```swift
var meshThreadExecutionWidth: 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 mesh shader memory requirements

- [maxTotalThreadsPerMeshThreadgroup](metal/mtlrenderpipelinestate/maxtotalthreadspermeshthreadgroup.md)
- [maxTotalThreadgroupsPerMeshGrid](metal/mtlrenderpipelinestate/maxtotalthreadgroupspermeshgrid.md)
