Kotlin Wrappers API Reference
Toggle table of contents
web
Target filter
web
Switch theme
Search in API
kotlin-web
/
web.gpu
/
GPU
GPU
open
class
GPU
(
source
)
Available only in secure contexts.
MDN Reference
Members
Members & Extensions
Properties
wgsl
Language
Features
Link copied to clipboard
val
wgslLanguageFeatures
:
WGSLLanguageFeatures
MDN Reference
Functions
get
Preferred
Canvas
Format
Link copied to clipboard
fun
getPreferredCanvasFormat
(
)
:
GPUTextureFormat
MDN Reference
request
Adapter
Link copied to clipboard
inline suspend
fun
GPU
.
requestAdapter
(
)
:
GPUAdapter
?
inline suspend
fun
GPU
.
requestAdapter
(
options
:
GPURequestAdapterOptions
)
:
GPUAdapter
?
MDN Reference
request
Adapter
Async
Link copied to clipboard
fun
requestAdapterAsync
(
options
:
GPURequestAdapterOptions
=
definedExternally
)
:
Promise
<
GPUAdapter
?
>
MDN Reference