Add a method to return the textureref