-
Notifications
You must be signed in to change notification settings - Fork 0
Texture_exists
hugh greene edited this page Jun 20, 2022
·
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
edited by hpg678 on Github