加入队列。
反义词:dequeue。
>>相关:Traversal(遍历):https://www.cnblogs.com/2008nmj/p/17379314.html
代码示例:
// Enqueue the root tiles that are renderable and visible. for (i = 0, len = levelZeroTiles.length; i < len; ++i) { tile = levelZeroTiles[i]; primitive._tileReplacementQueue.markTileRendered(tile); if (tile.needsLoading) { queueTileLoad(primitive, tile); } if (tile.renderable && tileProvider.computeTileVisibility(tile, frameState, occluders) !== Visibility.NONE) { traversalQueue.enqueue(tile); } else { ++debug.tilesCulled; if (!tile.renderable) { ++debug.tilesWaitingForChildren; } } }
标签:renderable,++,什么,primitive,levelZeroTiles,Enqueue,意思,tile From: https://www.cnblogs.com/2008nmj/p/17674923.html