Method

ClutterOffscreenEffectget_texture

since: 1.10

Declaration [src]

CoglHandle
clutter_offscreen_effect_get_texture (
  ClutterOffscreenEffect* effect
)

Description [src]

Retrieves the texture used as a render target for the offscreen buffer created by effect

You should only use the returned texture when painting. The texture may change after ClutterEffect::pre_paint is called so the effect implementation should update any references to the texture after chaining-up to the parent’s pre_paint implementation. This can be used instead of clutter_offscreen_effect_get_target() when the effect subclass wants to paint using its own material.

Available since: 1.10

Return value

Type: CoglHandle

A CoglHandle or NULL. The returned texture is owned by Clutter and it should not be modified or freed.