mirror of https://github.com/CesiumGS/cesium.git
26 lines
392 B
JavaScript
26 lines
392 B
JavaScript
/**
|
|
* The encoding that is used for a heightmap
|
|
*
|
|
* @enum {number}
|
|
*/
|
|
const HeightmapEncoding = {
|
|
/**
|
|
* No encoding
|
|
*
|
|
* @type {number}
|
|
* @constant
|
|
*/
|
|
NONE: 0,
|
|
|
|
/**
|
|
* LERC encoding
|
|
*
|
|
* @type {number}
|
|
* @constant
|
|
*
|
|
* @see {@link https://github.com/Esri/lerc|The LERC specification}
|
|
*/
|
|
LERC: 1,
|
|
};
|
|
export default Object.freeze(HeightmapEncoding);
|