Texture_exists - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
Adds a texture from the given file and optionally generates mipmaps.
Parameters
Parameter | Data Type | Description |
---|---|---|
texid |
Return Values
boolean: Returns whether or not the texture exists.
Example Call
// demonstrates checking whether a texture exists or not
if (texture_exists(mytexture)) {
// texture exists
} else {
// texture does not exist
}
NOTOC