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__
<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.
 
<syntaxhighlight 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 00:33, 4 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