Fix binary stream reader to use new texture API.
Fix binary stream reader to use new texture API.

sanyaade-teachings/engine,3DGEOM/engine,playcanvas/engine,RainsSoft/engine,SuperStarPL/engine,MicroWorldwide/PlayCanvas,shinate/engine,playcanvas/engine,horryq/engine-1,shinate/engine,H1Gdev/engine,sereepap2029/playcanvas,nizihabi/engine,guycalledfrank/engine,SuperStarPL/engine,maxwellalive/engine,sanyaade-teachings/engine,nizihabi/engine,3DGEOM/engine,horryq/engine-1,maxwellalive/engine,RainsSoft/engine,aidinabedi/playcanvas-engine,shinate/engine,sanyaade-teachings/engine,RainsSoft/engine,sereepap2029/playcanvas,horryq/engine-1,aidinabedi/playcanvas-engine,guycalledfrank/engine,sereepap2029/playcanvas,nizihabi/engine,SuperStarPL/engine,MicroWorldwide/PlayCanvas,3DGEOM/engine,H1Gdev/engine,maxwellalive/engine