Add existing to tracked

This commit is contained in:
Jay
2026-08-11 09:53:42 -04:00
parent afe07f3055
commit ffd6e3d73c
8531 changed files with 4396230 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import WebGLConstants from "../Core/WebGLConstants.js";
/**
* @enum {number}
* @private
*/
const TextureWrap = {
CLAMP_TO_EDGE: WebGLConstants.CLAMP_TO_EDGE,
REPEAT: WebGLConstants.REPEAT,
MIRRORED_REPEAT: WebGLConstants.MIRRORED_REPEAT,
validate: function (textureWrap) {
return (
textureWrap === TextureWrap.CLAMP_TO_EDGE ||
textureWrap === TextureWrap.REPEAT ||
textureWrap === TextureWrap.MIRRORED_REPEAT
);
},
};
Object.freeze(TextureWrap);
export default TextureWrap;