Draw a shaped typed-array buffer directly to a canvas element.
Accepts Uint8ClampedArray, Uint8Array, or ArrayBuffer with a .shape
property of [height, width, channels]. Only 4-channel (RGBA) input is
supported; the byte length must equal height * width * 4.
Draw a shaped typed-array buffer directly to a canvas element.
Accepts Uint8ClampedArray, Uint8Array, or ArrayBuffer with a
.shapeproperty of[height, width, channels]. Only 4-channel (RGBA) input is supported; the byte length must equalheight * width * 4.