Difference between revisions of "Shader:isValid"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2015.06.30<br/> '''<translate>Class</translate>:''' Shader<br/> ===...")
 
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Check if this shader object was compiled successfully and is actually usable.</translate>
 
<translate>Check if this shader object was compiled successfully and is actually usable.</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(boolean) = Shader:isValid()
 
(boolean) = Shader:isValid()
 
</source>
 
</source>

Revision as of 14:30, 13 July 2023


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