Type Alias: MakeAnimationLoopProps
MakeAnimationLoopProps =
Omit<AnimationLoopProps,"onCreateDevice"|"onInitialize"|"onRedraw"|"onFinalize"> &object
Defined in: modules/engine/src/animation-loop/make-animation-loop.ts:11
Props accepted while constructing an animation loop from a template.
Type Declaration
adapters?
optionaladapters?:Adapter[]
List of adapters to use when creating the device
onAfterRender?
optionalonAfterRender?: (animationProps,animationLoopTemplate) =>unknown
Runs after the template has encoded its frame and before the animation loop submits it.
Parameters
animationProps
animationLoopTemplate
AnimationLoopTemplate | null
Returns
unknown