ComputeBuffer.SetData

function SetData (data : System.Array) : void

Description

Set buffer data.

Compute buffer data can be filled from an aribrary array of value types (simple types like ints or floats; or struct types like Vector3 or Color).