set_cogl_texture


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "0.8" ) ]
public void set_cogl_texture (Handle cogl_tex)

Warning: set_cogl_texture is deprecated since 1.12.

Replaces the underlying COGL texture drawn by this actor with cogl_tex.

Note:

No replacement available; it's not advisable to modify the Cogl pipeline of an actor.

Use a Content implementation and set up the pipeline during the paint sequence instead.

A reference to the texture is taken so if the handle is no longer needed it should be deref'd with cogl_handle_unref.

Parameters:

this

A Texture

cogl_tex

A CoglHandle for a texture