// Use this for initialization private void Start() { reduser = new GpuReduce(shader); }
public void SetUp() { var shader = AssetDatabase.LoadAssetAtPath <ComputeShader>("Assets/Reduce/Shaders/GpuReduce.compute"); reducer = new GpuReduce(shader); }