MCPcopy Create free account
hub / github.com/crownengine/crown / sprite

Method sprite

src/world/render_world.cpp:2449–2452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2447}
2448
2449SpriteId RenderWorld::SpriteManager::sprite(UnitId unit)
2450{
2451 return make_instance(hash_map::get(_map, unit, UINT32_MAX));
2452}
2453
2454void RenderWorld::SpriteManager::destroy()
2455{

Callers 2

sprite_instanceMethod · 0.80
update_transformsMethod · 0.80

Calls 2

getFunction · 0.85
make_instanceFunction · 0.70

Tested by

no test coverage detected