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

1234567891011121314151617181920212223242526272829303132333435363738
  1. // @ts-check
  2. import WebGLConstants from "../Core/WebGLConstants.js";
  3. /**
  4. * Determines which triangles, if any, are culled.
  5. *
  6. * @enum {number}
  7. */
  8. const CullFace = {
  9. /**
  10. * Front-facing triangles are culled.
  11. *
  12. * @type {number}
  13. * @constant
  14. */
  15. FRONT: WebGLConstants.FRONT,
  16. /**
  17. * Back-facing triangles are culled.
  18. *
  19. * @type {number}
  20. * @constant
  21. */
  22. BACK: WebGLConstants.BACK,
  23. /**
  24. * Both front-facing and back-facing triangles are culled.
  25. *
  26. * @type {number}
  27. * @constant
  28. */
  29. FRONT_AND_BACK: WebGLConstants.FRONT_AND_BACK,
  30. };
  31. Object.freeze(CullFace);
  32. export default CullFace;