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

MipmapHint.js 471B

1234567891011121314151617181920212223
  1. import WebGLConstants from "../Core/WebGLConstants.js";
  2. /**
  3. * @enum {number}
  4. * @private
  5. */
  6. const MipmapHint = {
  7. DONT_CARE: WebGLConstants.DONT_CARE,
  8. FASTEST: WebGLConstants.FASTEST,
  9. NICEST: WebGLConstants.NICEST,
  10. validate: function (mipmapHint) {
  11. return (
  12. mipmapHint === MipmapHint.DONT_CARE ||
  13. mipmapHint === MipmapHint.FASTEST ||
  14. mipmapHint === MipmapHint.NICEST
  15. );
  16. },
  17. };
  18. Object.freeze(MipmapHint);
  19. export default MipmapHint;