Version: 2017.2
public void SetBuffer (string name, ComputeBuffer value);
public void SetBuffer (int nameID, ComputeBuffer value);

Parameters

nameID Property name ID, use Shader.PropertyToID to get it.
name Property name.
value The ComputeBuffer value to set.

Description

Sets a named ComputeBuffer value.