get_cogl_material


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public unowned Handle get_cogl_material ()

Warning: get_cogl_material is deprecated since 1.12.

Returns a handle to the underlying COGL material used for drawing the actor.

Note:

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

Use a Content implementation and modify the pipeline during the paint sequence

Parameters:

this

A Texture

Returns:

a handle for a CoglMaterial. The material is owned by the Texture and it should not be unreferenced




2022 vala-language.org