Difference between revisions of "Shader:isValid"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2015.06.30<br/> | |
− | ''' | + | '''Class:''' [[Shader]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Checks if this shader object was compiled successfully and is actually useable. | |
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(boolean) = Shader:isValid() | (boolean) = Shader:isValid() | ||
− | </ | + | </syntaxhighlight> |
− | === | + | |
− | ''' | + | === Return values === |
+ | '''Returns''' (boolean) true if this shader is valid<br/> | ||
{{Shader}} | {{Shader}} |
Latest revision as of 23:33, 3 November 2023
Available since: Gideros 2015.06.30
Class: Shader
Description
Checks if this shader object was compiled successfully and is actually useable.
(boolean) = Shader:isValid()
Return values
Returns (boolean) true if this shader is valid