Ejemplo n.º 1
0
 public void InjectExistingValue(int indexID, TValue value)
 {
     if (IndexFilter.Contains(indexID))
     {
         int packedIndex = IndexFilter.GetPackedIndex(indexID);
         mTargetOutput.SetValue(value, packedIndex);
     }
 }
Ejemplo n.º 2
0
 public FilteredIndexSet(int capacity, IReadonlyIndexSet[] requirements, IReadonlyIndexSet[] exclusions)
 {
     mFilter   = new IndexFilter(requirements, exclusions);
     mIndexSet = new IndexSet(capacity);
 }