ResetRenderer(IPanel)
Resets the renderer of the panel. Releases all meshes, rendering commands, and pools owned by the renderer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static void ResetRenderer(this IPanel panel)
Parameters
Remarks
Call this method to force a defragmentation and reordering of mesh memory. This can potentially reduce draw calls and memory usage. Use sparingly, such as during Scene loading or for testing.