Add existing to tracked
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user