MotionScript

@motion-script/core


@motion-script/core / warmView3D

Function: warmView3D()

warmView3D(): void | Promise<void>

Defined in: render3d/resources.ts:56

Internal

Kick off loading the 3D runtime.

View3D.prepareRender() calls this, which runs during precomp — before any frame is drawn — so by the time the first 3D frame paints the runtime is normally already resident and the render pass stays synchronous. The renderer still has a per-frame fallback for the case where it isn't.

Returns

void | Promise<void>