Documentation
    Preparing search index...

    Function instantiateGltf

    • Instantiates a parsed GltfAsset into live scene content (§78).

      Fresh nodes and materials per call over shared geometry, textures, and clips — the module header states the sharing rule and the node shapes. Ignored material texture slots (recorded by the parse tier) are §85-warned here, once per material, because instantiation is where a picture becomes wrong if nobody says so.

      Parameters

      • asset: GltfAsset

        A loaded, undisposed glTF asset.

      Returns GltfInstance

      The instantiated scene content.

      FourError INVALID_APPLICATION_STATE for a disposed asset; UNSUPPORTED_GPU_FEATURE from the landed Mesh.skeleton refusal when a skin exceeds the §62 joint ceiling.