pub fn lookup_renderable<'a>(
name: &str,
sprite_registry: &'a SpriteRegistry,
composition_registry: &'a CompositionRegistry,
) -> Option<Renderable<'a>>Expand description
Look up a renderable by name across sprite and composition registries.
Searches sprites first, then compositions. Returns the first match found. This enables unified rendering where a name can refer to either a sprite or a composition without the caller needing to know which.