예제 #1
0
 private void dispose(bool disposing)
 {
     if (_texture != 0)
     {
         _messagePump.Post(_ => _graphics.DeleteTexture(_texture), null);
     }
 }
예제 #2
0
 private void dispose()
 {
     if (ID != 0)
     {
         _messagePump.Post(_ => _graphics.DeleteTexture(ID), null);
     }
 }
예제 #3
0
        private void disposeTexture()
        {
            var texture = _texture;

            if (texture != 0)
            {
                _messagePump.Post(_ => _graphics.DeleteTexture(texture), null);
            }
        }