Does Unity - Scripting API: Texture2D.Apply and Unity - Scripting API: Texture2D.SetPixelData scales depending on cpu and gpu, or it takes the same time no matter what cpu/gpu u have?
So if u have 8gb ram GPU and 8 cores CPU, will it perform the same as having a 1gb ram GPU and 4 cores CPU?
It almost certainly is a factor of bandwidth and probably the driver and OS interaction more than anything. Using the CPU to write to GPU memory like this is all entirely about how fast that memory transfer is. A fast CPU would only help if you had exceptionally complex calculations to determine what each pixel color was going to be. Having a fast GPU… really doesn’t affect it at all. And in general, moving data across this bus isn’t exactly the fastest thing in the world. It also likely can cause stalls on the GPU as well since the memory being written to has to be locked during the process.