Difference between revisions of "Shader.getShaderLanguage"

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 2016.08<br/>
'''<translate>Available since</translate>:''' Gideros 2016.08<br/>
+
'''Class:''' [[Shader]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Shader|Shader]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Get shader language, returns string with values as: glsl,msl or hlsl</translate>
+
Gets the shader language. Returns a string with values as: '''glsl''', '''msl''' or '''hlsl'''.
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
Shader.getShaderLanguage()
+
Shader.getShaderLanguage()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (string) <translate>the current shader language</translate><br/>
+
=== Return values ===
 +
'''Returns''' (string) the current shader language<br/>
  
 
{{Shader}}
 
{{Shader}}

Latest revision as of 23:48, 3 November 2023

Available since: Gideros 2016.08
Class: Shader

Description

Gets the shader language. Returns a string with values as: glsl, msl or hlsl.

Shader.getShaderLanguage()

Return values

Returns (string) the current shader language