WGSLLanguageFeatures

The WGSLLanguageFeatures interface of the WebGPU API is a setlike object that reports the WGSL language extensions supported by the WebGPU implementation. Available only in secure contexts.

MDN Reference

Properties

Link copied to clipboard
open external override val size: Int

Functions

Link copied to clipboard
open external fun entries(): JsIterator<Tuple2<JsString, JsString>>
Link copied to clipboard
open external fun forEach(action: (JsString) -> Unit)
open external override fun forEach(action: (JsString) -> Unit)
Link copied to clipboard
open external override fun has(key: JsString): Boolean
Link copied to clipboard
open external override fun keys(): JsIterator<JsString>
Link copied to clipboard
open external fun values(): JsIterator<JsString>