Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crownengine/crown
/ sprite_instance
Method
sprite_instance
src/world/render_world.cpp:404–407 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
402
}
403
404
SpriteId RenderWorld::sprite_instance(UnitId unit)
405
{
406
return _sprite_manager.sprite(unit);
407
}
408
409
void RenderWorld::sprite_set_sprite(SpriteId sprite, StringId64 sprite_resource_name)
410
{
Callers
2
update_scene
Method · 0.80
load_api
Function · 0.80
Calls
1
sprite
Method · 0.80
Tested by
no test coverage detected