Documentation

Unity Engine

Unity Engine

ResetDynamicAtlas(IPanel)

Resets the dynamic atlas of the panel.
Read time 1 minuteLast updated a month ago

Definition

public static void ResetDynamicAtlas(this IPanel panel)

Parameters

panel

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.