formatDiagnostic function
`wave.frag:12:5 error GLSL_INOUT message`, then the hint, the page of the code and the frame.
import { formatDiagnostic } from '@dioramajs/glsl/convert'function formatDiagnostic(
diagnostic: GlslDiagnostic,
withFrame?: boolean,
): stringParameters
| Name | Type | Description |
|---|---|---|
diagnostic | GlslDiagnostic | |
withFrame? | boolean | Default |
Defined in packages/glsl/src/convert/errors.ts.