Version: 5.4
public void SetData (Array data);

Parameters

data Array of values to fill the buffer.

Description

Set the buffer with values from an array.

The input data must follow the data layout rules of the graphics API in use. See Compute Shaders for cross-platform compatibility information.