/** * Instantiate a ModelAsset into the engine's GameObject hierarchy. * Uploads textures to the GPU and creates Meshes + Materials + MeshRenderers. * Supports skeletal animation via SkinnedMeshRenderer + AnimationMixer. */ import { GameObject } from '@certe/atmos-core'; import type { MeshRendererContext, SkinnedRendererContext } from '@certe/atmos-renderer'; import type { ModelAsset } from './types.js'; /** Minimal interface so callers can pass a RenderSystem without importing it. */ export interface InstantiateContext extends MeshRendererContext, SkinnedRendererContext { } export interface InstantiateOptions { renderSystem: InstantiateContext; } /** * Create a GameObject tree from a ModelAsset. * Decodes and uploads textures, creates GPU meshes and materials. * Automatically sets up SkinnedMeshRenderer + AnimationMixer for skinned models. * Returns the root GameObject (caller adds to scene). */ export declare function instantiateModel(asset: ModelAsset, options: InstantiateOptions): Promise; //# sourceMappingURL=model-instantiate.d.ts.map