Garry's Mod Wiki

ITexture:IsError

boolean ITexture:IsError()

Description

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

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

Returns

1 boolean
Whether the texture was loaded successfully or not.

Page Links


Special Pages


Wikis

?

Render Time: 29ms

Session 0
DB GetPage 4
Generate Html 4
SaveChanges 8
Render Body 0
Render Sidebar 12