protected override void Dispose(bool disposing) { if (disposing) { // Main thread, do direct GL deletion. _clyde.DeleteTexture(TextureId); } else { // Finalizer thread _clyde._textureDisposeQueue.Enqueue(TextureId); } }
public override void Delete() { _clyde.DeleteTexture(this); }