Constructor
ClutterShaderEffectnew
Declaration [src]
ClutterEffect*
clutter_shader_effect_new (
ClutterShaderType shader_type
)
Description [src]
Creates a new ClutterShaderEffect
, to be applied to an actor using clutter_actor_add_effect().
The effect will be empty until clutter_shader_effect_set_shader_source()
is called.
Available since: | 1.8 |
Parameters
shader_type |
ClutterShaderType |
The type of the shader, either |
Return value
Returns: | ClutterEffect |
The newly created |
|
The data is owned by the called function. |