Skip to main content

parse_atlas

Function parse_atlas 

Source
pub fn parse_atlas(text: &str) -> Result<Atlas>
Expand description

Parse atlas JSON. Empty sheets, zero sizes, and frames outside the sheet are errors — a bad atlas must never reach the GPU as silent garbage.