GPUCompilationInfo: messages property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{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](/en-US/docs/Web/API/GPUCompilationInfo#examples) for an example.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
- The WebGPU API