* Throws when a shader module contains WGSL compilation errors.
(
module: GPUShaderModule,
options?: {
lineMap?: ShaderLineMap;
fragmentSource?: string;
computeSource?: string;
includeSources?: Record<string, string>;
defineBlockSource?: string;
materialSource?: {
component?: string;
file?: string;
line?: number;
column?: number;
functionName?: string;
} | null;
runtimeContext?: ShaderCompilationRuntimeContext;
errorPrefix?: string;
shaderStage?: 'fragment' | 'compute';
}
)
source not stored for this graph (policy: none)
no test coverage detected