RuntimePanelUtils.ResetDynamicAtlas

Declaration

public static void ResetDynamicAtlas(UIElements.IPanel panel);

Description

Resets the dynamic atlas of the panel.

Call this method to force a defragmentation of the atlas, which might reduce GPU memory usage. Use sparingly: the meshes and rendering commands of all textured elements will be released and will need to be regenerated.


Did you find this page useful? Please give it a rating: