-
Notifications
You must be signed in to change notification settings - Fork 0
Texture_exists
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 |
boolean: Returns whether or not the texture exists.
// demonstrates checking whether a texture exists or not
if (texture_exists(mytexture)) {
// texture exists
} else {
// texture does not exist
}
NOTOC
This is number 1