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);

Parámetros

nameIDNombre del ID de la propiedad, utilice Shader.PropertyToID para obtenerla.
nameNombre de la propiedad.
valueThe ComputeBuffer or GraphicsBuffer value to set.

Descripción

Sets a named buffer value.