示例#1
0
 public void Release()
 {
     lock (items)
     {
         while (items.Count > 0 && GraphicsDevice.IsFenceCompleteInternal(items.Peek().Key))
         {
             ReleaseObject(items.Dequeue().Value);
         }
     }
 }