attribute [NumThreads]

Description

Specifies the size of the thread group a compute shader.

Signature

[NumThreads(x : int, y : int, z : int)]

Parameters

x : int

The number of threads in the x dimension of a thread group.

y : int = 1

The number of threads in the y dimension of a thread group.

z : int = 1

The number of threads in the z dimension of a thread group.