Documentation
    Preparing search index...

    Function emitShaderGraphWgsl

    • Emits the WGSL module for graph — both stages plus the binding metadata the store builds layouts and pipelines from.

      Pure and deterministic: the same graph emits the same bytes, every time, on every platform (§33 — pinned by tests/determinism/'s node-material-wgsl.json golden, beside the GLSL emitter's). Validation is analyzeShaderGraph's and throws its RangeError for a malformed graph; a graph that validates always emits.

      Parameters

      Returns EmittedWgslNodeShader