[ Version ( deprecated = true , deprecated_since = "1.8" , since = "0.6" ) ]
public bool set_shader (Shader? shader)
Warning: set_shader is deprecated since 1.8.
Sets the Shader to be used when rendering this.
Use ShaderEffect and add_effect instead.
If shader
is null
this function will unset any currently set shader for the actor.
Any Effect applied to this will take the precedence over the Shader set using this function.
this |
a Actor |
shader |
a Shader or |
|