pub fn load_texture_from_file(
identifier: impl AsRef<str>,
file: impl AsRef<Path>,
callback: Option<RawTextureReceiveCallback>,
)Expand description
Loads a texture from the given file path.
You can create a RawTextureReceiveCallback using the texture_receive macro.