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

Parameters

nameIDProperty name ID, use Shader.PropertyToID to get it.
nameProperty name.
valueThe ComputeBuffer value to set.

Description

Sets a named ComputeBuffer value.