docs: function() {
  		if (!Texture.FORCE_POT) {
  			//If minFilter is anything but LINEAR or NEAREST
  			//or if wrapS or wrapT are not CLAMP_TO_EDGE...
  			var wrongFilter = (this.minFilter !== Texture.Filter.LINEAR && this.minFilter !== Texture.Filter.NEAREST);
  			var wrongWrap = (this.wrapS !== Texture.Wrap.CLAMP_TO_EDGE || this.wrapT !== Texture.Wrap.CLAMP_TO_EDGE);
  
  			if ( wrongFilter || wrongWrap ) {
  				if (!isPowerOfTwo(this.width) || !isPowerOfTwo(this.height))
  					throw new Error(wrongFilter 
  							? "Non-power-of-two textures cannot use mipmapping as filter"
  							: "Non-power-of-two textures must use CLAMP_TO_EDGE as wrap");
  			}
  		}
  	}