set(image, textureAtlas) {
		const width = image.width || image.videoWidth;
		const height = image.height || image.videoHeight;

		// warn if a non POT texture is added to the cache when using WebGL1
		if (
			renderer.WebGLVersion === 1 &&
			(!isPowerOfTwo(width) || !isPowerOfTwo(height))
		) {
			const src = typeof image.src !== "undefined" ? image.src : image;
			console.warn(
				"[Texture] " +
					src +
					" is not a POT texture " +
					"(" +
					width +
					"x" +
					height +
					")",
			);
		}
		return this.cache.put(image, textureAtlas);
	}
@ignore
cache the textureAltas for the given image