- Texture* tex=m_TextureLookupList["MyCoolTexture.dds"];
- if (!tex){//existiert noch nicht muss also geladen werden
- tex=new Texture("MyCoolTexture.dds");
- m_TextureLookupList["MyCoolTexture.dds"]=tex;
- }
- //mach irgendwas mit der Textur
- tex->Activate();
- ...