Difference between revisions of "Shader.getShaderLanguage"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Shader.getShaderLanguage() | Shader.getShaderLanguage() | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (string) <translate>the current shader language</translate><br/> | '''<translate>Returns</translate>''' (string) <translate>the current shader language</translate><br/> | ||
{{Shader}} | {{Shader}} |
Revision as of 14:32, 13 July 2023
Available since: Gideros 2016.08
Class: Shader
Description
Get shader language, returns string with values as: glsl,msl or hlsl
Shader.getShaderLanguage()
Return values
Returns (string) the current shader language