pub fn sprite_mode(blend: i32) -> usize
The mode a blend value selects (0 for anything outside 0..=10).
blend
0
0..=10