ComputeBuffer.GetData

function GetData (data : System.Array) : void

Description

Read buffer data.

Reads buffer data into an aribrary array of value types (simple types like ints or floats; or struct types like Vector3 or Color). Note that reading data back from the buffer can be quite slow, as the CPU will have to wait for GPU to finish any pending operations and read the data back to system memory.