
13 Nov
2008
13 Nov
'08
2:27 a.m.
Michael Marcin wrote:
If texture has to be constructible from key then texture has to have direct access to file and image loading functionality. I can't pass any information other than the key to the construction site without resorting to singletons.
What's the problem with making your image loaders singletons? As far as I can think, they're the perfect candidates.