Intercepts uploads to WebGL buffers in order to keep track of their expected value on the GPU.