GPUAdapter

external class GPUAdapter(source)

Available only in secure contexts.

MDN Reference

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun requestDevice(descriptor: GPUDeviceDescriptor = definedExternally): GPUDevice
Link copied to clipboard
fun requestDeviceAsync(descriptor: GPUDeviceDescriptor = definedExternally): Promise<GPUDevice>