ComputeShader.Dispatch

function Dispatch (kernelIndex : int, threadsX : int, threadsY : int, threadsZ : int) : void

Description

Execute a compute shader.

This functions "runs" the compute shader, with the given work size as indicated by threadsX, threadsY, threadsZ parameters. See Also: FindKernel, Compute Shaders.