1
0
forked from Rowland/EG
EG/Cesium-1.132/packages/engine/Source/Renderer/MipmapHint.js
2025-08-25 17:48:13 +08:00

20 lines
439 B
JavaScript

import WebGLConstants from "../Core/WebGLConstants.js";
/**
* @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
);
},
};
export default Object.freeze(MipmapHint);