Library: @native on hot interpreted paths (Begin/End, NewFrame key loops, table rows, sliders, buttons, wrapped text, GetFontBaked)

Fewer native<->interpreter transitions on the per-item call chains. Stress+demo headless (--roblox) 0.98 -> 0.93 ms/frame,
draw data unchanged.
This commit is contained in:
4DBug committed 2026-10-20 15:19:28 -05:00
1 parent c1c59bde47
commit d9d8ee4e6b
4 files changed
+21

No files matched your search

+1
View File
@@ -3038,6 +3038,7 @@ end
--- @param size float
--- @param density float?
--- @return ImFontBaked?
@native
function MT.ImFont:GetFontBaked(size, density)
if not density then density = -1.0 end