Shader:isValid

From GiderosMobile
Revision as of 15:30, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


Available since: Gideros 2015.06.30
Class: Shader

Description

Check if this shader object was compiled successfully and is actually usable. <syntaxhighlight lang="lua"> (boolean) = Shader:isValid() </source>

Return values

Returns (boolean) true if this shader is valid