cesium
Version:
CesiumJS is a JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.
31 lines (28 loc) • 790 B
JavaScript
/**
* The refinement approach for a tile.
* <p>
* See the {@link https://github.com/CesiumGS/3d-tiles/tree/master/specification#refinement|Refinement}
* in the 3D Tiles spec.
* </p>
*
* @exports Cesium3DTileRefine
*
* @private
*/
var Cesium3DTileRefine = {
/**
* Render this tile and, if it doesn't meet the screen space error, also refine to its children.
*
* @type {Number}
* @constant
*/
ADD : 0,
/**
* Render this tile or, if it doesn't meet the screen space error, refine to its descendants instead.
*
* @type {Number}
* @constant
*/
REPLACE : 1
};
export default Object.freeze(Cesium3DTileRefine);