get_texture


Description:

public unowned Texture? get_texture ()

Extracts a texture handle for a specific layer.

Note:

No replacement

<note>In the future Cogl may support purely GLSL based layers; for those layers this function which will likely return cogl_invalid_handle if you try to get the texture handle from them. Considering this scenario, you should call get_type first in order check it is of type cogl_material_layer_type_texture before calling this function.</note>

Parameters:

this

A CoglMaterialLayer object

Returns:

a VertexBufferIndices for the texture inside the layer