code: function (renderer) {
          var _gl = renderer.gl;
          _gl.pixelStorei(_gl.UNPACK_FLIP_Y_WEBGL, this.flipY);
          _gl.pixelStorei(_gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, this.premultiplyAlpha);
          _gl.pixelStorei(_gl.UNPACK_ALIGNMENT, this.unpackAlignment);
  
          // Use of none-power of two texture
          // http://www.khronos.org/webgl/wiki/WebGL_and_OpenGL_Differences
          if (this.format === glenum.DEPTH_COMPONENT) {
              this.useMipmap = false;
          }
  
          var sRGBExt = renderer.getGLExtension('EXT_sRGB');
          // Fallback
          if (this.format === Texture.SRGB && !sRGBExt) {
              this.format = Texture.RGB;
          }
          if (this.format === Texture.SRGB_ALPHA && !sRGBExt) {
              this.format = Texture.RGBA;
          }
  
          this.NPOT = !this.isPowerOfTwo();
      }
docs: Update the common parameters of texture