Table of Contents

Class GPUCompilationInfo

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The GPUCompilationInfo interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} represents an array of GPUCompilationMessage objects generated by the GPU shader module compiler to help diagnose problems with shader code.

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

Remarks

GPUCompilationInfo is accessed via GetCompilationInfo().

-The WebGPU API

See also on MDN

Constructors

GPUCompilationInfo()

public GPUCompilationInfo()

Properties

Messages

The messages read-only property of the
GPUCompilationInfo interface is an array of GPUCompilationMessage objects, each one containing the details of an individual shader compilation message. Messages can be informational, warnings, or errors.

[Value("messages")]
public GPUCompilationMessage[] Messages { get; }

Property Value

GPUCompilationMessage[]

An array of GPUCompilationMessage objects.

Remarks