Exemplo n.º 1
0
 //Recalculates max size whenever called - can potentially be very slow!
 public void CalculateDynamicMaxSize()
 {
     MaxSize = 0;
     DataSpecifications.ForEach(d => MaxSize += d.Count * DrawableIndices * d.SizeInBytes);
 }
Exemplo n.º 2
0
 public override void CalculateMaxSize()
 {
     Debug.Assert(MaxDrawableIndices != 0);
     MaxSize = 0;
     DataSpecifications.ForEach(d => MaxSize += d.Count * MaxDrawableIndices * d.SizeInBytes);
 }