Make texture object within TextureResource class accessible.