ComputeShader.SetBuffer

function SetBuffer (kernelIndex : int, name : String, buffer : ComputeBuffer) : void

Description

This function can either set an input or output compute buffer.

See Also: FindKernel, ComputeBuffer.