pub type TextureCallback = extern "C" fn(texture: i32, user_data: *mut ());Expand description
Textures are initialized asynchronously, so we have to set them via a
callback.
The callback is given a negative texture code on error. On a negative
texture, the error code is the bit-flipped number, which is -1 - texture.