# maxComputeWorkGroupSizeX

> The maximum number of work groups that a compute shader can use in X dimension (Read Only).

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static int maxComputeWorkGroupSizeX { get; }
```

### Remarks

This is the largest number of work groups (in X dimension) that a compute shader on the current device can use.

Additional Resources:[SystemInfo.maxComputeWorkGroupSize](/engine/6000.6/script-reference/unityengine/systeminfo/maxcomputeworkgroupsize.md)
