Updating ordering of loadTexture function params