loadFscenebBytes function

Node loadFscenebBytes(
  1. Uint8List bytes, {
  2. FsceneComponentRegistry? registry,
})

Parses and realizes a .fsceneb binary container from bytes into a live node graph (synchronously).

The container carries embedded payload chunks, so payload-backed geometry and embedded rgba8 textures realize. For external assets, encoded image payloads, or fmat materials, use loadFscenebBytesAsync (or realizeSceneAsync); the synchronous path uses placeholders for those.

Implementation

Node loadFscenebBytes(Uint8List bytes, {FsceneComponentRegistry? registry}) =>
    realizeScene(readFsceneb(bytes), registry: registry);