Back to Content

GPUCompilationInfo: messages property

files/en-us/web/api/gpucompilationinfo/messages/index.md

latest681 B
Original Source

{{APIRef("WebGPU API")}}{{SecureContext_Header}}{{AvailableInWorkers}}

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

Value

An array of {{domxref("GPUCompilationMessage")}} objects.

Examples

See the main GPUCompilationInfo page for an example.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also