Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
2 results across 6 corpora for GPUShaderModule: getCompilationInfo() method.
Developer library 2
GPUShaderModule
- label - : A string providing a label that can be used to identify the object, for example in GPUError messages or console warnings. ## Instance methods - getCompilationInfo() - : Returns a Promise that fulfills with a GPUCompilationInfo object containing messages generated during the `GPUShaderModule`'s compilation. ## Examples In our [basic render demo](https://mdn.github.io/dom-examples/webgpu-render-demo
GPUShaderModule: getCompilationInfo() method
WebGPU API The **`getCompilationInfo()`** method of the GPUShaderModule interface returns a Promise that fulfills with a GPUCompilationInfo object containing messages generated during the `GPUShaderModule`'s compilation. ## Syntax ```js-nolint getCompilationInfo() ``` ### Parameters None. ### Return value A Promise that fulfills with a GPUCompilationInfo object. GPUCompilationInfo contains a `messages` proper