Table of Contents

Class WGSLLanguageFeatures

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The WGSLLanguageFeatures interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} is a setlike object that reports the WGSL language extensions supported by the WebGPU implementation.

[Value("WGSLLanguageFeatures")]
public class WGSLLanguageFeatures
Inheritance
WGSLLanguageFeatures
Inherited Members

Remarks

The WGSLLanguageFeatures object is accessed via the WgslLanguageFeatures property.

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.

-WebGPU API

See also on MDN

Constructors

WGSLLanguageFeatures()

public WGSLLanguageFeatures()