engineGetRendererStats
Client-side
Returns current, session-high-water, and capacity counters for San Andreas Online's expanded renderer arrays.
Syntax
table engineGetRendererStats()Returns
A table containing visibleEntities, visibleEntityHighWater, visibleEntityCapacity, visibleLods, visibleLodHighWater, visibleLodCapacity, streamingRwObjects, streamingRwObjectHighWater, and streamingRwObjectCapacity.
Ownership and lifecycle
Renderer counters live for the current process. Distant lights start disabled, and each client resource can opt in.
Where this comes from
SOURCECLuaEngineDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp INTRODUCED / EXTENDEDbc3f9d9e6Read the commit and why the change was made TEST RESOURCE renderer-limit-test test-resources/renderer-limit-test
RELATED SA:O APIS
Read the system guide → Continue exploring
← Back to the SA:O Lua API · How Renderer and distant lights works →