Add existing to tracked
This commit is contained in:
+44
@@ -0,0 +1,44 @@
|
||||
// @ts-check
|
||||
|
||||
/**
|
||||
* 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,
|
||||
};
|
||||
|
||||
Object.freeze(QuadtreeTileLoadState);
|
||||
|
||||
export default QuadtreeTileLoadState;
|
||||
Reference in New Issue
Block a user