moved resbonsibility of accessing textures to GlobalResources