Skip to content

Texture_exists

hpgDesigns edited this page Aug 8, 2021 · 1 revision

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

This is number 1

Clone this wiki locally