simplified getTexture()