Functionsยง
- load_
image - A convienence function that will open an image (using the
image
crate) and transform it to the format that glium expects for textures. Use the output of this function as the input to screen.texture(). It is not necessary to use this function, though. You can use whatever image crate and approach you want, just make /// sure that the input to screen.texture() is an image:::RgbaImage.