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 TEXTURE before calling this function.

Parameters:

this

A CoglMaterialLayer object

Returns:

a VertexBufferIndices for the texture inside the layer