Clutter.ShaderEffect.new_with_snippet
Description: Reference for Clutter.ShaderEffect.new_with_snippet

### Constructor

# Clutter ShaderEffectnew_with_snippet

#### Declaration [src]

    ClutterEffect*
    clutter_shader_effect_new_with_snippet (
      CoglSnippet* snippet
    )

#### Description [src]

Creates a new `ClutterShaderEffect`, to be applied to an actor using `clutter_actor_add_effect()`.

#### Parameters

`snippet`

  Type: `CoglSnippet`

  A `CoglSnippet`.

  The data is owned by the caller of the function.

#### Return value

Type: `ClutterEffect`

The newly created `ClutterShaderEffect`. Use `g_object_unref()` when done.

The data is owned by the called function.