Added fromCanvas to base texture

added destroy function to webGLRenderer (WIP)