WGPURequestAdapterOptions

value class WGPURequestAdapterOptions(val $mem: MemorySegment)

TODO

Constructors

Link copied to clipboard
constructor(gc: Boolean)
constructor($mem: MemorySegment)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val $mem: MemorySegment
Link copied to clipboard

If set, requires the adapter to have a particular backend type. If this is not possible, the request returns null.

Link copied to clipboard

If set, requires the adapter to be able to output to a particular surface. If this is not possible, the request returns null.

Link copied to clipboard

"Feature level" for the adapter request. If an adapter is returned, it must support the features and limits in the requested feature level.

Link copied to clipboard
var forceFallbackAdapter: <Error class: unknown class>

If true, requires the adapter to be a "fallback" adapter as defined by the JS spec. If this is not possible, the request returns null.

Link copied to clipboard
Link copied to clipboard