code: function(s, t, ignoreBind) { //TODO: support R wrap mode
  		if (s && t) {
  			this.wrapS = s;
  			this.wrapT = t;
  		} else 
  			this.wrapS = this.wrapT = s;
  		
  		//enforce POT rules..
  		this._checkPOT();	
  
  		if (!ignoreBind)
  			this.bind();
  
  		var gl = this.gl;
  		gl.texParameteri(this.target, gl.TEXTURE_WRAP_S, this.wrapS);
  		gl.texParameteri(this.target, gl.TEXTURE_WRAP_T, this.wrapT);
  	}
docs: Sets the wrap mode for this texture; if the second argument
  is undefined or falsy, then both S and T wrap will use the first
  argument.
  
  You can use Texture.Wrap constants for convenience, to avoid needing
  a GL reference.
  
  @method  setWrap
  @param {GLenum} s the S wrap mode
  @param {GLenum} t the T wrap mode
  @param {Boolean} ignoreBind (optional) if true, the bind will be ignored.