Texture_delete - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Deletes the given texture, freeing it from memory. This function should be used with caution, do not use it to delete backgrounds or sprites delete them directly which by default optionally frees the texture as well.

Parameters

Parameter Data Type Description
texid

Return Values

int: This function does not return anything.

Example Call

// demonstrates freeing a texture from memory
texture_delete(mytexture);

NOTOC