I’m trying to think of a good way to structure my code (I wouldn’t call it a framework ::)), and I wonder what the best approach would be for initialising textures.
- does that have to happen again, too, when the init method is called?
- if the texture was read from a slow resource like the internet, I’d rather not have to read it again. Can I keep the TextureData object in memory and simply create a new Texture object for it?
thanks!