pub fn atlas_render_data(
atlas: &Parsed,
key: Option<&AtlasKey>,
meter: &Arc<Meter>,
) -> Result<RenderData, SpriteError>Expand description
The SpriteAtlasData of atlas’s m_RenderDataMap whose key is key
(next(value for key, value in ...), :78): the first such entry, or
SpriteError::NoAtlasData where none is. A Sprite with no
m_RenderDataKey compares None with every key, which matches none.
Each entry counts one unit of meter’s decode work before it is read,
and each field lookup its own (module docs): the atlas’s fields walked
to m_RenderDataMap, each key’s to its words.