Skip to content

SurfaceTexture

data class SurfaceTexture(val texture: GPUTexture)
A texture acquired from a canvas surface. The browser owns the underlying texture.

Constructors

SurfaceTexture

constructor(texture: GPUTexture)

Properties

texture

val texture: GPUTexture