@luma.gl/engine
Version:
3D Engine Components for luma.gl
10 lines • 643 B
TypeScript
import { Adapter } from '@luma.gl/core';
import { AnimationLoopTemplate } from "./animation-loop-template.js";
import { AnimationLoop, AnimationLoopProps } from "./animation-loop.js";
export type MakeAnimationLoopProps = Omit<AnimationLoopProps, 'onCreateDevice' | 'onInitialize' | 'onRedraw' | 'onFinalize'> & {
/** List of adapters to use when creating the device */
adapters?: Adapter[];
};
/** Instantiates and runs the render loop */
export declare function makeAnimationLoop(AnimationLoopTemplateCtor: typeof AnimationLoopTemplate, props?: MakeAnimationLoopProps): AnimationLoop;
//# sourceMappingURL=make-animation-loop.d.ts.map