Add graphics device function for read back pixels from current render target.
Merge branch 'master' of https://github.com/playcanvas/engine
Fix for texture upload logic.