@cesium/engine
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
40 lines (36 loc) • 690 B
JavaScript
/**
* The state of a {@link QuadtreeTile} in the tile load pipeline.
* @enum {number}
* @private
*/
const QuadtreeTileLoadState = {
/**
* The tile is new and loading has not yet begun.
* @type QuadtreeTileLoadState
* @constant
* @default 0
*/
START: 0,
/**
* Loading is in progress.
* @type QuadtreeTileLoadState
* @constant
* @default 1
*/
LOADING: 1,
/**
* Loading is complete.
* @type QuadtreeTileLoadState
* @constant
* @default 2
*/
DONE: 2,
/**
* The tile has failed to load.
* @type QuadtreeTileLoadState
* @constant
* @default 3
*/
FAILED: 3,
};
export default Object.freeze(QuadtreeTileLoadState);