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


nameEl nombre de una propiedad.
nameIDEl ID del nombre de la propiedad recuperada por Shader.PropertyToID.
valueThe ComputeBuffer to set.


Set a ComputeBuffer property.

Adds a property to the block. If a buffer property with the given name already exists, the old value is replaced.

See Also: SetColor, SetVector, SetFloat, SetTexture.