Hashed strings

One scenario that is quite common in all game engines is having to look-up some resource (texture, shader, material, script, etc.) based on a string, which could look like the following:

Texture* tex = TextureManager::FindTexture("my_texture");

Continue reading

Advertisements