Skip to main content

write_texture

Function write_texture 

Source
pub fn write_texture(
    file: &Path,
    texture: &str,
    png: Vec<u8>,
) -> Result<PathBuf, String>
Expand description

Writes png as the picture of the mod’s texture texture; the .yres written.