Documentation
    Preparing search index...

    Function registerWebgpuNodeMaterialPipeline

    • Opts this process's WebgpuRenderers into §60 node materials and §70 "graph" effects (RFC 0001; WP-R1.9).

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

      Calling it is what links this module — the WGSL emitter and the pipeline store — into the bundle; a build that never calls it carries none of it. WGSL still compiles lazily, per distinct graph, on each renderer's first frame that needs one — never here and never at renderer initialize — so registration alone changes no device transcript. Idempotent; calling it twice re-installs the same factory.

      Returns void