Documentation
    Preparing search index...

    Function createGlBatching

    • Creates the §65 batching support a renderer draws through.

      renderer.batching = createGlBatching();                     // defaults
      renderer.batching = createGlBatching({ maxVertices: 4096 }); // smaller batches

      A function rather than an exported class construction at the call site for the reason createRenderStatistics is one: the application says what it wants, and the renderer names no implementation — which is what keeps this module out of every bundle that does not ask for it (see the module header).

      Parameters

      Returns RenderBatching