docs: function(width, height, format, type, data, genMipmaps) {
  		var gl = this.gl;
  
  		format = format || gl.RGBA;
  		type = type || gl.UNSIGNED_BYTE;
  		data = data || null; //make sure falsey value is null for texImage2D
  
  		this.width = (width || width==0) ? width : this.width;
  		this.height = (height || height==0) ? height : this.height;
  
  		this._checkPOT();
  
  		this.bind();
  
  		gl.texImage2D(this.target, 0, format, 
  					  this.width, this.height, 0, format,
  					  type, data);
  
  		if (genMipmaps)
  			gl.generateMipmap(this.target);
  	}