reordered parameter list for loadTexture2D for consistency