You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
688 B
JavaScript
40 lines
688 B
JavaScript
/**
|
|
* The state of a {@link QuadtreeTile} in the tile load pipeline.
|
|
* @enum {Number}
|
|
* @private
|
|
*/
|
|
var 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);
|