get_texture


Description:

[ Version ( since = "1.10" ) ]
public unowned Handle get_texture ()

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

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 get_target when the effect subclass wants to paint using its own material.

Parameters:

this

a OffscreenEffect

Returns:

a VertexBufferIndices or COGL_INVALID_HANDLE. The returned texture is owned by Clutter and it should not be modified or freed




2022 vala-language.org