Documentation
    Preparing search index...

    Function registerPickingPipeline

    • Opts this process's WebglRenderers into §71's "gpu" picking tier (RFC 0005).

      import { registerPickingPipeline } from "@fourjs/render-webgl";
      registerPickingPipeline(); // once, at application setup
      const picking = renderer.createPickingService();

      Calling it is what links this module — the id program, its GLSL, the service, and the fence read-back — into the bundle; a build that never calls it carries none of it (grep-proven in the packet's A/B). The id program still compiles lazily, on each service's first pass, never here and never at createPickingService(), so registration and creation alone change no GL transcript. Idempotent; calling it twice re-installs the same factory.

      Returns void