Kotlin Wrappers API Reference
Toggle table of contents
common
Platform filter
common
Switch theme
kotlin-web
/
web.gpu
/
GPUAdapter
GPUAdapter
class
GPUAdapter
(
source
)
Available only in secure contexts.
MDN Reference
Members
Members & Extensions
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
inline suspend
fun
GPUAdapter
.
requestDevice
(
)
:
GPUDevice
inline suspend
fun
GPUAdapter
.
requestDevice
(
descriptor
:
GPUDeviceDescriptor
)
:
GPUDevice
MDN Reference
request
Device
Async
Link copied to clipboard
fun
requestDeviceAsync
(
descriptor
:
GPUDeviceDescriptor
=
definedExternally
)
:
Promise
<
GPUDevice
>
MDN Reference