Options for the reorder function.


cleanup: boolean
  • experimental

Whether to perform cleanup steps after completing the operation. Recommended, and enabled by default. Cleanup removes temporary resources created during the operation, but may also remove pre-existing unused or duplicate resources in the Document. Applications that require keeping these resources may need to disable cleanup, instead calling dedup and prune manually (with customized options) later in the processing pipeline.

encoder: unknown

MeshoptEncoder instance.

target: 'size' | 'performance'

Whether the order should be optimal for transmission size (recommended for Web) or for GPU rendering performance. Default is 'size'.

Function symbol, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.