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/> ===...")
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2015.06.30<br/>
'''<translate>Available since</translate>:''' Gideros 2015.06.30<br/>
+
'''Class:''' [[Shader]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Shader|Shader]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Check if this shader object was compiled successfully and is actually usable.</translate>
+
Checks if this shader object was compiled successfully and is actually useable.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(boolean) = Shader:isValid()
 
(boolean) = Shader:isValid()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (boolean) <translate>true if this shader is valid</translate><br/>
+
=== 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