toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.gpu
/
GPUCanvasContext
GPUCanvas
Context
external
class
GPUCanvasContext
:
OffscreenRenderingContext
,
RenderingContext
(
source
)
Available only in secure contexts.
MDN Reference
Members
Properties
canvas
Link copied to clipboard
val
canvas
:
EventTarget
MDN Reference
Functions
configure
Link copied to clipboard
fun
configure
(
configuration
:
GPUCanvasConfiguration
)
MDN Reference
get
Current
Texture
Link copied to clipboard
fun
getCurrentTexture
(
)
:
GPUTexture
MDN Reference
unconfigure
Link copied to clipboard
fun
unconfigure
(
)
MDN Reference