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