+<h3><a name="TEXTURE_UPLOAD_SIZE">Texture Upload Width and Height</a></h3>
+
+<p>
+Unless <code>width</code> and <code>height</code> parameters are explicitly specified, the width
+and height of the texture set by <code>texImage2D</code> and the width and height of the
+sub-rectangle updated by <code>texSubImage2D</code> are determined based on the uploaded element or
+image data the following way:
+</p>
+
+ <dl>
+ <dt><code>ImageData pixels</code>
+ <dd>
+ The width and height of the texture are set to the current values of the width and
+ height properties of <code>pixels</code>, representing the actual pixel width and height
+ of <code>pixels</code>.
+ <dt><code>HTMLImageElement image</code>
+ <dd>
+ If a bitmap is uploaded, the width and height of the texture are set to the width and
+ height of the uploaded bitmap in pixels. If an SVG image is uploaded, the width and
+ height of the texture are set to the current values of the width and height properties
+ of <code>image</code>.
+ <dt><code>HTMLCanvasElement canvas</code>
+ <dd>
+ The width and height of the texture are set to the current values of the width and
+ height properties of <code>canvas</code>.
+ <dt><code>HTMLVideoElement video</code>
+ <dd>
+ The width and height of the texture are set to the width and height of the uploaded
+ frame of the video in pixels.
+ </dl>
+