title: Copy texture from GPU to CPU
body: <p>How can I copy a texture from GPU memory to the CPU in WebGL? I am updating the texture using texSubImage2D in runtime.</p>
  
  <p>I would like to avoid:</p>
  
  <ul>
  <li>storing a copy of a texture on a canvas</li>
  <li>rendering to texture and call readPixels</li>
  </ul>
  
  <p>Is there any other way?</p>
  
  <p>Already read these (which are useful for textures that are not updated during execution):</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/4702032/accessing-image-texture-data-texels-on-webgl">Accessing image/texture data (texels) on WebGL</a></li>
  <li><a href="https://stackoverflow.com/questions/8191083/can-one-easily-create-an-html-image-element-from-a-webgl-texture-object">Can one easily create an HTML image element from a WebGL texture object?</a></li>
  </ul>