Builds a §78 glTF 2.0 loader for the AssetManager (§96, §33).
See the module header for the exact tier — what parses, what is refused by
name, and what is ignored with a record. The result of a load is a
GltfAsset; assembly into scene nodes is four's
instantiateGltf, because this package may not name a node (§3.1).
A loader producing GltfAssets. Each call returns a
distinct loader object, hence a distinct cache slot — hoist it to a
module constant, exactly as with createTextureLoader.
Throws
FourError INVALID_APPLICATION_STATE for a non-positive
maximumBytes.
Builds a §78 glTF 2.0 loader for the AssetManager (§96, §33).
See the module header for the exact tier — what parses, what is refused by name, and what is ignored with a record. The result of a load is a GltfAsset; assembly into scene nodes is
four'sinstantiateGltf, because this package may not name a node (§3.1).