using System.Linq; using UnityEngine; using UnityEngine.Experimental.UIElements; namespace UnityEditor.ShaderGraph.Drawing { public class PixelCacheProfilerView : VisualElement { readonly VisualElement m_Target; Label m_TotalLabel; Label m_DirtyLabel; Label m_TotalNodeContentsLabel; Label m_DirtyNodeContentsLabel; Label m_TotalPreviewsLabel; Label m_DirtyPreviewsLabel; Label m_TotalInlinesLabel; Label m_DirtyInlinesLabel; public PixelCacheProfilerView(VisualElement target) { m_Target = target; var tpl = Resources.Load("UXML/PixelCacheProfiler"); tpl.CloneTree(this, null); m_TotalLabel = this.Q