engineRebuildDistantLights
Client-side
Refreshes the distant-light catalogue from Neon's startup capture and currently available world data.
Syntax
bool engineRebuildDistantLights()Returns
Always true after requesting the rebuild.
Ownership and lifecycle
Renderer counters live for the current process. Distant lights start disabled, and each client resource can opt in.
Important behavior
- Static IPL lights captured during GTA startup remain available regardless of the player's current location.
Where this comes from
SOURCECLuaEngineDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp INTRODUCED / EXTENDEDd0a91316bRead the commit and why the change was made RELATED CATEGORY HARNESS project2dfx-test Category-level coverage · test-resources/project2dfx-test
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Renderer and distant lights works →