
@c %start of fragment

@deffn Function clutter-shader-effect-new  (shader_type@tie{}@code{<clutter-shader-type>}) @result{}@tie{} (ret@tie{}@code{<clutter-effect>})
Creates a new @code{<clutter-shader-effect>}, to be applied to an actor
using @code{clutter-actor-add-effect}.

The effect will be empty until
@code{clutter-shader-effect-set-shader-source} is called.

@table @var
@item shader-type
the type of the shader, either @samp{CLUTTER_FRAGMENT_SHADER}, or
@samp{CLUTTER_VERTEX_SHADER}

@item ret
the newly created @code{<clutter-shader-effect>}. Use
@code{g-object-unref} when done.

@end table

Since 1.8

@end deffn


@c %end of fragment
