Documentation
    Preparing search index...

    Function registerStandardPipeline

    • Opts this process's WebglRenderers into §59's metallic-roughness surfaces (§62; 2026-09-11, owner decision).

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

      Calling it is what links this module — the program and its two shaders — into the bundle; a build that never calls it carries none of it. The program still compiles lazily, on each renderer's first "standard" item, never here and never at renderer initialize, so registration alone changes no GL transcript. Without it, StandardMaterial draws are skipped with one development warning. Idempotent.

      Returns void