ResetDynamicAtlas(IPanel)
Resets the dynamic atlas of the panel.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static void ResetDynamicAtlas(this IPanel panel)
Parameters
Remarks
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.