HeightmapEncoding.js 571 B

123456789101112131415161718192021222324252627
  1. import freezeObject from './freezeObject.js';
  2. /**
  3. * The encoding that is used for a heightmap
  4. *
  5. * @exports HeightmapEncoding
  6. */
  7. var HeightmapEncoding = {
  8. /**
  9. * No encoding
  10. *
  11. * @type {Number}
  12. * @constant
  13. */
  14. NONE: 0,
  15. /**
  16. * LERC encoding
  17. *
  18. * @type {Number}
  19. * @constant
  20. *
  21. * @see {@link https://github.com/Esri/lerc|The LERC specification}
  22. */
  23. LERC: 1
  24. };
  25. export default freezeObject(HeightmapEncoding);