Top |
Functions
CoglHandle | cogl_material_ref () |
void | cogl_material_unref () |
const GList * | cogl_material_get_layers () |
Functions
cogl_material_ref ()
CoglHandle
cogl_material_ref (CoglHandle material
);
cogl_material_ref
has been deprecated since version 1.2 and should not be used in newly-written code.
Use cogl_object_ref()
instead
Increment the reference count for a CoglMaterial.
Since: 1.0
cogl_material_unref ()
void
cogl_material_unref (CoglHandle material
);
cogl_material_unref
has been deprecated since version 1.2 and should not be used in newly-written code.
Use cogl_object_unref()
instead
Decrement the reference count for a CoglMaterial.
Since: 1.0
cogl_material_get_layers ()
const GList *
cogl_material_get_layers (CoglMaterial *material
);
cogl_material_get_layers
has been deprecated since version 1.16 and should not be used in newly-written code.
Use cogl_pipeline_get_layers()
instead
This function lets you access a material's internal list of layers for iteration.
Returns
A list of CoglMaterialLayer's that can be passed to the cogl_material_layer_* functions. The list is owned by Cogl and it should not be modified or freed.
[element-type CoglMaterialLayer][transfer none]