getCurrentTexture

open external fun getCurrentTexture(): GPUTexture(source)

The getCurrentTexture() method of the GPUCanvasContext interface returns the next GPUTexture to be composited to the document by the canvas context.

MDN Reference