Documentation
    Preparing search index...

    Function registerNodeMaterialPipeline

    • Opts this process's WebglRenderers into §60 node materials and §70 graph effects (RFC 0001).

      import { registerNodeMaterialPipeline } from "@fourjs/render-webgl";
      registerNodeMaterialPipeline(); // once, at application setup

      Calling it is what links this module — the GLSL emitter and the program cache — into the bundle; a build that never calls it carries none of it (grep-proven in the packet's A/B). Programs still compile lazily, per distinct graph, on each renderer's first draw that needs one — never here and never at renderer initialize — so registration alone changes no GL transcript. Idempotent; calling it twice re-installs the same factory.

      Returns void