public void LoadShoulds() { for (int i = 0; i < shoulds.Length; i++) { shouldsOnGPU[i] = GPUHelper.GetOutputBuffer(); shouldsOnGPU[i].CopyFrom(this.shoulds[i], Index2.Zero, Index2.Zero, shouldsOnGPU[i].Extent); } }
public void LoadShoulds() { for (int i = 0; i < shoulds.Length; i++) { shouldsOnGPU[i] = GPUHelper.GetOutputBuffer(); shouldsOnGPU[i].CopyFrom(this.shoulds[i], Index2.Zero, Index2.Zero, shouldsOnGPU[i].Extent); } }