I want to load a texture when I need it, so I'd need a method in order to do so.
I'd only use that one parameter, but what would I put in the method? So far I've only ever loaded content at startup with something like
But I want to move away from loading everything at startup and only load content when I need it.
EDIT: In order to explain what I'm going for, I'll give more detail. Say I have a chunk of blocks 50x50x50. Most of these won't be drawn, so it doesn't make sense to load the texture for the cubes not drawn. This is why I want a method that I can call whenever the texture needs to be loaded for the cube. Instead of loading 6 textures for 6 sides for 125,000 cubes, I cut back the amount of loading to only the visible cubes.