| 1234567891011121314151617181920212223 |
- import WebGLConstants from "../Core/WebGLConstants.js";
-
- /**
- * @enum {number}
- * @private
- */
- const MipmapHint = {
- DONT_CARE: WebGLConstants.DONT_CARE,
- FASTEST: WebGLConstants.FASTEST,
- NICEST: WebGLConstants.NICEST,
-
- validate: function (mipmapHint) {
- return (
- mipmapHint === MipmapHint.DONT_CARE ||
- mipmapHint === MipmapHint.FASTEST ||
- mipmapHint === MipmapHint.NICEST
- );
- },
- };
-
- Object.freeze(MipmapHint);
-
- export default MipmapHint;
|