文档

Unity Engine

Unity Engine

maxComputeWorkGroupSizeX

The maximum number of work groups that a compute shader can use in X dimension (Read Only).
阅读时间1 分钟最后更新于 1 个月前

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.