ITexture/IsError

From Garry's Mod
Revision as of 06:26, 19 September 2019 by Code gs (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 ITexture:IsError( )

Description

Returns whenever the texture is valid. (i.e. was loaded successfully or not)

NOTE

The "error" texture is a valid texture, and therefore this function will return false when used on it. Use ITexture:IsErrorTexture, instead.

Returns

boolean

Whether the texture was loaded successfully or not.
Personal tools
Navigation