writeTexture

The writeTexture() method of the GPUQueue interface writes a provided data source into a given GPUTexture.

MDN Reference