Skip to main content

pack_image_offset

Function pack_image_offset 

Source
pub const fn pack_image_offset(x: u16, y: u16) -> u32
Expand description

Packs an image’s atlas offset into one word, x in the high half.