You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.
Vladimir Alyamkin edited this page Jul 9, 2014
·
4 revisions
When UI component is enabled there are two performance-related things:
UI component updates its texture each frame
Memory copy occured each time internal renderer thread caches the web view frame
Depending on the total resolution of web views it can result with considerable FPS penalty.
To keep your framerate nice I recommend to follow this rules:
Use chuncked HUD instead of one big view for the whole HUD. Not-chunked approach should be used for full-screen menus only.
Enable scene UI only when player is close enougth to interact with it or see it in details. Disable it in other case. While disabled it won't update the texture, but last view will be shown.
Second rule should be applied to HUD type menus when they're hidden too. Don't waste CPU time to cache things which are invisible to player.