Skip to content
FunctionRendering & Filters@public

syncWorldToRenderer

Synchronize renderer entries with the active state's renderables. Adds missing objects; removes entries for objects no longer in the tree. Does not clear and rebuild all handles. Clears link when a context is attached.

ts
export declare function syncWorldToRenderer(game: FlxGame, renderer: FlxCameraRenderer): void

Parameters

ParameterTypeDescription
gameFlxGame-
rendererFlxCameraRenderer-

Returns

void

Released under the MIT License.