Version: 2019.2
public void SetBuffer (string name, ComputeBuffer value);
public void SetBuffer (int nameID, 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.