pub fn load_texture_with_image(
context: &GraphicsContext,
name: &str,
img: DynamicImage,
texture: Texture,
textures: &mut TextureMap,
)Expand description
Loads a pre-created Texture with an associated DynamicImage
into the asset store.
Useful for when the user wants to create a Texture on their own, e.g. by using a more exotic format and way of loading of the image.