We are trying to update a BufferAttribute with new position data. We want to dispose it on upload. When the buffer gets created, we utilize onUploadCallback to dispose the array data on CPU. We were expecting onUploadCallback to be called during update as well. It appears it is not. Currently, our work around is to create a new BufferAttribute since it calls the onUploadCallback.
We were wondering if WebGLAttributes.update should also call onUploadCallback or if our current approach is correct ?
Thanks !