void DisposeTexture(MyBorrowedUavTexture uav) { IUavTexture uavTexture = uav.UavTexture; MyManagers.RwTextures.DisposeTex(ref uavTexture); MyBorrowedTextureKey key = uav.Key; m_dictionaryUavTextures[key].Remove(uav); m_objectPoolUav.Deallocate(uav); }