public void SetBuffer (string name, ComputeBuffer value);
public void SetBuffer (int nameID, ComputeBuffer value);
public void SetBuffer (string name, GraphicsBuffer value);
public void SetBuffer (int nameID, GraphicsBuffer value);

Parameters

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

Description

Sets a named buffer value.