MENU
SharedArrayBuffer
SharedArrayBuffer is similar to ArrayBuffer, in a way that it can be used to create views on shared memory, so that multiple threads can read and write the same data in memory. Unlike an ArrayBuffer, a SharedArrayBuffer cannot become detached.
APIs accepting SharedArrayBuffer objects:
-WebGLRenderingContext.bufferData()
-WebGLRenderingContext.bufferSubData()
-WebGL2RenderingContext.getBufferSubData()
(for more info, read the example at 8.13.4)