WgslMessage
Interface in Variants
One compilation message, narrowed to what a gate reports.
import type { WgslMessage } from 'typeshade'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
interface WgslMessage { readonly type: string; readonly message: string; readonly lineNum?: number;}Description
Mirrors GPUCompilationMessage
without depending on its type.
Instance properties
typeread onlystringmessageread onlystringlineNumoptionalread onlynumber
Source
src/core/variant-link.ts, line 187, at commit 26de7be8