Documentation

Unity Engine

Unity Engine

maxComputeWorkGroupSizeX

The maximum number of work groups that a compute shader can use in X dimension (Read Only).
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
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.