ComputeBuffer.SetData
SetData(data: Array): void;
Parameters

data Array of values to fill the buffer.
Description

Set the buffer with values from an array.