[]
Allows a compute-shader–based transform to select the number of thread groups to execute based on the number of output pixels it needs to fill.
void CalculateThreadgroups(RectL outputRect, out int dimensionX, out int dimensionY, out int dimensionZ)
Sub CalculateThreadgroups(outputRect As RectL, ByRef dimensionX As Integer, ByRef dimensionY As Integer, ByRef dimensionZ As Integer)
| Type | Name | Description |
|---|---|---|
| RectL | outputRect | |
| int | dimensionX | |
| int | dimensionY | |
| int | dimensionZ |