IsTexture()

Syntax

Result = IsTexture(#Texture)
Description
Tests if the given texture is valid and correctly initialized.

Parameters

#Texture The texture to test.

Return value

Nonzero if the texture is valid, zero otherwise.

Remarks

This function is bulletproof and may be used with any value. This is the correct way to ensure a texture is ready to use.

Supported OS

All

<- GetScriptTexture() - Texture Index - LoadTexture() ->