A C API and tools for packing textures into and loading textures from texture atlases