Removes partitions from the binary payload of a glTF file, so that the asset
contains at most one (1) .bin
Buffer. This process reverses the
changes from a partition transform.
Example:
document.getRoot().listBuffers(); // → [Buffer, Buffer, ...]
await document.transform(unpartition());
document.getRoot().listBuffers(); // → [Buffer]
Made by Don McCurdy • Documented with greendoc • © 2023 MIT License
unpartition