babylon-mmd
Version:
babylon.js mmd loader and runtime
26 lines (25 loc) • 668 B
TypeScript
import type { IMmdWasmInstance } from "../mmdWasmInstance";
/**
* Animation pool singleton
*/
export declare class AnimationPoolWrapper {
private static readonly _Map;
readonly instance: IMmdWasmInstance;
readonly pool: ReturnType<IMmdWasmInstance["createAnimationPool"]>;
private _referenceCount;
private constructor();
/**
* @internal
*/
addReference(): void;
/**
* @internal
*/
removeReference(): void;
/**
* Get animation pool
* @param instance MMD WASM instance
* @returns Animation pool for the WASM instance
*/
static Get(instance: IMmdWasmInstance): AnimationPoolWrapper;
}