Callbacks

  FuncPtr ()
  MaterialLayerCallback (material, layer_index, *user_data)

Details

Cogl.FuncPtr()

The type used by cogl for function pointers, note that this type is used as a generic catch-all cast for function pointers and the actual arguments and return type may be different.

Cogl.MaterialLayerCallback(material, layer_index, *user_data)
Parameters:
Return type:

int

The callback prototype used with Cogl.Material.foreach_layer() for iterating all the layers of a material.

New in version 1.4.

Deprecated since version 1.16.