智慧水务管理系统 - 精河县供水工程综合管理平台

BillboardLoadState.js 1004B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /**
  2. * Defines loading state of a image as any request is resolved and the WebGL resources are updated.
  3. * @private
  4. * @enum {number}
  5. */
  6. const BillboardLoadState = Object.freeze({
  7. /**
  8. * There is no image data to load.
  9. * @private
  10. * @type {number}
  11. * @constant
  12. */
  13. NONE: 0,
  14. /**
  15. * Image data is in the process of downloading, or WebGL resources are being updated.
  16. * @private
  17. * @type {number}
  18. * @constant
  19. */
  20. LOADING: 2,
  21. /**
  22. * The image data has been downloaded and the WebGL resources have been created. It is ready for rendering.
  23. * @private
  24. * @type {number}
  25. * @constant
  26. */
  27. LOADED: 3,
  28. /**
  29. * There was an error while downloading an image or updating the WebGL resources.
  30. * @private
  31. * @type {number}
  32. * @constant
  33. */
  34. ERROR: 4,
  35. /**
  36. * Updating the WebGL resources failed, due to the resource being destroyed or another error.
  37. * @private
  38. * @type {number}
  39. * @constant
  40. */
  41. FAILED: 5,
  42. });
  43. export default BillboardLoadState;