IFClite TypeScript API
    Preparing search index...

    Function encodeSceneSnapshotInSlices

    • The same bytes as encodeSceneSnapshot, copied into the Blob a slice at a time with yieldToHost between slices, so a large scene is never one long task. A Blob made of Blobs references them; nothing is copied twice.

      Parameters

      • snapshot: SceneSnapshot
      • yieldToHost: () => Promise<void>
      • OptionalsliceBytes: number

      Returns Promise<Blob>