Documentation
    Preparing search index...

    Interface SolverRegistration

    How a solver package opts into selection — everything the registry needs to decide whether a solver fits, and how to build it.

    interface SolverRegistration {
        name: SolverName;
        create(options: PhysicsWorldOptions): PhysicsWorldAdapter;
        isSupported(options: PhysicsWorldOptions): boolean;
    }
    Index

    Which §102 solver this builds. One registration per name per registry.

    • A cheap, side-effect-free answer to "could this environment run this solver at all?" — the presence of WebAssembly, of a native binding, of SharedArrayBuffer.

      Not the capability check: "auto" reads §37's capabilities off the adapter this registration builds, which is exact and needs no probe. This one only exists so a solver that cannot possibly load is skipped before it is constructed.

      Parameters

      Returns boolean