Method

MetaBackgroundset_blend_textures

Declaration [src]

void
meta_background_set_blend_textures (
  MetaBackground* self,
  CoglTexture* texture1,
  CoglTexture* texture2,
  double blend_factor,
  GDesktopBackgroundStyle style,
  ClutterColorState* color_state
)

Description [src]

Set the background to a blend of two textures.

Parameters

texture1

Type: CoglTexture

First CoglTexture.

The argument can be NULL.
The data is owned by the caller of the method.
texture2

Type: CoglTexture

Second CoglTexture.

The argument can be NULL.
The data is owned by the caller of the method.
blend_factor

Type: double

Blend factor between 0.0 and 1.0.

style

Type: GDesktopBackgroundStyle

The background style to apply.

color_state

Type: ClutterColorState

The color state of the textures.

The argument can be NULL.
The data is owned by the caller of the method.