Texture_save - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Adds a texture from the given file and optionally generates mipmaps.

Parameters

Parameter Data Type Description
texid
fname string file name and path of the file to save the image data to

Return Values

void: This function does not return anything.

Example Call

// demonstrates saving a texture to file
texture_add(mytexture, "mytexture.png");

NOTOC