API

Function enableMaterialPlugins

  • Enable material-plugin support for scene.

    • Registers the PBR plugin bridge: its detect hook assigns a stable signature identity outside the material's feature bits during the build, so no mesh walk is needed here.
    • Registers the Standard plugin bridge and walks scene.meshes, pre-baking a per-signature identity into every Standard plugin material's _pi. Only a presence flag enters per-renderable features. Standard plugin uniforms are delivered through a self-managed uniform buffer built here and bound via the pre-existing StdExt._bind loop.

    Parameters

    Returns void