Exemplo n.º 1
0
 internal CleanupData(ManagedSpriteInstance instance)
 {
     PreviousSpriteInstance    = instance.PreviousSpriteInstance;
     ReferenceTexture          = instance.Reference;
     RecentAccessNode          = instance.RecentAccessNode;
     instance.RecentAccessNode = default;
     MapHash = instance.SpriteMapHash;
 }
Exemplo n.º 2
0
 internal CacheEntry(TValue value, ConcurrentLinkedListSlim <TKey> .NodeRef node, long size)
 {
     Value = value;
     Node  = node;
     Size  = size;
 }