Table of Contents

Sprite:setShader

Available since version: Gideros 2015.06.30

Description:

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

Syntax:

Sprite:setShader(shader)

Parameters:

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