-
Notifications
You must be signed in to change notification settings - Fork 0
Texture_save
hpgDesigns edited this page Aug 8, 2021
·
1 revision
Adds a texture from the given file and optionally generates mipmaps.
| Parameter | Data Type | Description |
|---|---|---|
| texid | ||
| fname | string | file name and path of the file to save the image data to |
void: This function does not return anything.
// demonstrates saving a texture to file
texture_add(mytexture, "mytexture.png");
NOTOC
This is number 1