set_shader
Description:
[ Version ( deprecated = true , deprecated_since = "1.8" , since = "0.6" ) ]
public bool set_shader (Shader? shader)
public bool set_shader (Shader? shader)
Warning: set_shader is deprecated since 1.8.
Sets the Shader to be used when rendering this.
Note:
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.
Parameters:
this |
a Actor |
shader |
a Shader or |
Returns:
|