MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / UpdateTable

Method UpdateTable

Source/Editor/Windows/Profiler/MemoryGPU.cs:267–290  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

265 }
266
267 private void UpdateTable()
268 {
269 _table.IsLayoutLocked = true;
270 int idx = 0;
271 while (_table.Children.Count > idx)
272 {
273 var child = _table.Children[idx];
274 if (child is ClickableRow row)
275 {
276 _tableRowsCache.Add(row);
277 child.Parent = null;
278 }
279 else
280 {
281 idx++;
282 }
283 }
284 _table.LockChildrenRecursive();
285
286 UpdateTableInner();
287
288 _table.UnlockChildrenRecursive();
289 _table.PerformLayout();
290 }
291
292 private void UpdateTableInner()
293 {

Callers

nothing calls this directly

Calls 4

LockChildrenRecursiveMethod · 0.80
AddMethod · 0.45
PerformLayoutMethod · 0.45

Tested by

no test coverage detected