public static List <T> GetCachedItems <T>(this Container <T> container) where T : MemoryObject { var cache = new ContainerCache <T>(container); cache.Update(); return(cache.NewItems); }
public void Update() { if (_descriptors == null) { _descriptors = _ctx.DataSegment.AttributeDescriptors.ToArray(); foreach (var item in _descriptors) { item.TakeSnapshot(); } } _allocationCache.Update(); _groupCache.Update(); }