I am trying to create a new ImageData from a Uint8ClampedArray based on a SharedArrayBuffer, since the ImageData constructor doesnt accept a Uint8ClampedArray based on a SharedArrayBuffer I have to convert it to a normal ArrayBuffer somehow.
Any Ideas how I can convert the SharedArrayBuffer to a normal ArrayBuffer or how I could create ImageData with a SharedArrayBuffer?
没有评论:
发表评论