toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-web
/
web.gpu
/
GPU
GPU
sealed
external
class
GPU
(
source
)
Members
Functions
get
Preferred
Canvas
Format
Link copied to clipboard
fun
getPreferredCanvasFormat
(
)
:
GPUTextureFormat
request
Adapter
Link copied to clipboard
suspend
fun
requestAdapter
(
options
:
GPURequestAdapterOptions
=
definedExternally
)
:
GPUAdapter
?
request
Adapter
Async
Link copied to clipboard
fun
requestAdapterAsync
(
options
:
GPURequestAdapterOptions
=
definedExternally
)
:
Promise
<
GPUAdapter
?
>