wgslLanguageFeatures property

WGSLLanguageFeatures get wgslLanguageFeatures

The wgslLanguageFeatures read-only property of the GPU interface returns a WGSLLanguageFeatures object that reports the WGSL language extensions supported by the WebGPU implementation.

Note

Not all WGSL language extensions are available to WebGPU in all browsers that support the API. We recommend you thoroughly test any extensions you choose to use.

Implementation

external WGSLLanguageFeatures get wgslLanguageFeatures;