Sprite:setShader

Revision as of 01:20, 4 December 2019 by MoKaLux (talk | contribs)


Available since: Gideros 2015.06.30
Class: Sprite

Description

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

 Sprite:setShader(shader)

Parameters

shader: (Shader) shader to use for this object