HeightmapEncoding.js 392 B

12345678910111213141516171819202122232425
  1. /**
  2. * The encoding that is used for a heightmap
  3. *
  4. * @enum {number}
  5. */
  6. const HeightmapEncoding = {
  7. /**
  8. * No encoding
  9. *
  10. * @type {number}
  11. * @constant
  12. */
  13. NONE: 0,
  14. /**
  15. * LERC encoding
  16. *
  17. * @type {number}
  18. * @constant
  19. *
  20. * @see {@link https://github.com/Esri/lerc|The LERC specification}
  21. */
  22. LERC: 1,
  23. };
  24. export default Object.freeze(HeightmapEncoding);