Difference between revisions of "Sprite:setShader"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2015.06.30<br/> === Description === Set shader for this sprite. If nil is provided, sets default shader for current object <source lan...")
 
Line 4: Line 4:
 
Set shader for this sprite. If nil is provided, sets default shader for current object
 
Set shader for this sprite. If nil is provided, sets default shader for current object
 
<source lang="lua">
 
<source lang="lua">
= Sprite:setShader(shader,)
+
Sprite:setShader(shader)
 
</source>
 
</source>
'''shader:''' (Shader) shader to use for this object ''''''<br/>
+
'''shader''': (Shader) shader to use for this object ''''''<br/>

Revision as of 10:19, 23 August 2018

Available since: Gideros 2015.06.30

Description

Set shader for this sprite. If nil is provided, sets default shader for current object

 Sprite:setShader(shader)

'shader: (Shader) shader to use for this object '