Difference between revisions of "Shader.getShaderLanguage"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Get shader language, returns string with values as: glsl,msl or hlsl</translate>
 
<translate>Get shader language, returns string with values as: glsl,msl or hlsl</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  Shader.getShaderLanguage()
 
  Shader.getShaderLanguage()
 
</source>
 
</source>

Revision as of 14:30, 13 July 2023


Available since: Gideros 2016.08
Class: Shader

Description

Get shader language, returns string with values as: glsl,msl or hlsl <syntaxhighlight lang="lua">

Shader.getShaderLanguage()

</source>

Return values

Returns (string) the current shader language