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

AlphaMode.js 679B

12345678910111213141516171819202122232425262728293031323334353637
  1. // @ts-check
  2. /**
  3. * The alpha rendering mode of the material.
  4. *
  5. * @enum {string}
  6. * @private
  7. */
  8. const AlphaMode = {
  9. /**
  10. * The alpha value is ignored and the rendered output is fully opaque.
  11. *
  12. * @type {string}
  13. * @constant
  14. */
  15. OPAQUE: "OPAQUE",
  16. /**
  17. * The rendered output is either fully opaque or fully transparent depending on the alpha value and the specified alpha cutoff value.
  18. *
  19. * @type {string}
  20. * @constant
  21. */
  22. MASK: "MASK",
  23. /**
  24. * The rendered output is composited onto the destination with alpha blending.
  25. *
  26. * @type {string}
  27. * @constant
  28. */
  29. BLEND: "BLEND",
  30. };
  31. Object.freeze(AlphaMode);
  32. export default AlphaMode;