import type { Nullable } from "@babylonjs/core/types"; import type { MmdStandardMaterial } from "../../../Loader/mmdStandardMaterial"; import type { ILogger } from "../../ILogger"; import type { MmdMorphControllerBase } from "../../mmdMorphControllerBase"; import type { MorphIndices } from "../IMmdRuntimeAnimation"; /** * Induces a recompilation of the `MmdStandardMaterial`. * * This method prevents frame drop during animation by inducing properties to be recompiled that are used in morph animation * * @param materials Materials * @param morphController Morph controller * @param morphIndices Morph indices to induce recompile * @param logger Logger */ export declare function InduceMmdStandardMaterialRecompile(materials: readonly MmdStandardMaterial[], morphController: MmdMorphControllerBase, morphIndices: readonly Nullable[], logger?: ILogger): void; /** * Sets the `numMaxInfluencers` of the `MorphTargetManager` to the number of active morph targets in the morph animation * * @param morphController Morph controller * @param morphIndices Morph indices to induce recompile */ export declare function SetMorphTargetManagersNumMaxInfluencers(morphController: MmdMorphControllerBase, morphIndices: readonly Nullable[]): void;