cesium/packages/engine/Source/Core/HeightmapEncoding.js

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);