toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-web
/
web.gpu
/
GPUAdapter
GPUAdapter
external
class
GPUAdapter
(
source
)
Available only in secure contexts.
MDN Reference
Members
Properties
features
Link copied to clipboard
val
features
:
GPUSupportedFeatures
MDN Reference
info
Link copied to clipboard
val
info
:
GPUAdapterInfo
MDN Reference
is
Fallback
Adapter
Link copied to clipboard
val
isFallbackAdapter
:
Boolean
MDN Reference
limits
Link copied to clipboard
val
limits
:
GPUSupportedLimits
MDN Reference
Functions
request
Device
Link copied to clipboard
suspend
fun
requestDevice
(
descriptor
:
GPUDeviceDescriptor
=
definedExternally
)
:
GPUDevice
MDN Reference
request
Device
Async
Link copied to clipboard
fun
requestDeviceAsync
(
descriptor
:
GPUDeviceDescriptor
=
definedExternally
)
:
Promise
<
GPUDevice
>