Added a function to load WebGL Textures