get_type


Description:

public MaterialLayerType get_type ()

Retrieves the type of the layer

Note:

No replacement

Currently there is only one type of layer defined: TEXTURE, but considering we may add purely GLSL based layers in the future, you should write code that checks the type first.

Parameters:

this

A CoglMaterialLayer object

Returns:

the type of the layer