WebGPU: is writeBuffer or mappedAtCreation faster

I think it does not really matter using one or the other as mappedAtCreation can only be used at buffer creation time, which happens infrequently.

When updating an existing buffer, Threejs is also using writeBuffer.

If you are interested, here’s an article about buffer management in WebGPU:

2 Likes