engineGetRendererStats
Client-side
Returns current, session-high-water, and capacity counters for Neon'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 NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Renderer and distant lights works →