diff --git a/cogl/cogl-material.h b/cogl/cogl-material.h index 75c487eb1..35cf7b99b 100644 --- a/cogl/cogl-material.h +++ b/cogl/cogl-material.h @@ -1032,6 +1032,23 @@ gboolean cogl_material_get_layer_point_sprite_coords_enabled (CoglMaterial *material, int layer_index); +/** + * cogl_material_get_layer_wrap_mode_s: + * @material: A #CoglMaterial object + * @layer_index: the layer number to change. + * + * Returns the wrap mode for the 's' coordinate of texture lookups on this + * layer. + * + * Return value: the wrap mode for the 's' coordinate of texture lookups on + * this layer. + * + * Since: 1.6 + */ +CoglMaterialWrapMode +cogl_material_get_layer_wrap_mode_s (CoglMaterial *material, + int layer_index); + /** * cogl_material_set_layer_wrap_mode_s: * @material: A #CoglMaterial object @@ -1047,6 +1064,24 @@ cogl_material_set_layer_wrap_mode_s (CoglMaterial *material, int layer_index, CoglMaterialWrapMode mode); +/** + * cogl_material_get_layer_wrap_mode_t: + * @material: A #CoglMaterial object + * @layer_index: the layer number to change. + * + * Returns the wrap mode for the 't' coordinate of texture lookups on this + * layer. + * + * Return value: the wrap mode for the 't' coordinate of texture lookups on + * this layer. + * + * Since: 1.6 + */ +CoglMaterialWrapMode +cogl_material_get_layer_wrap_mode_t (CoglMaterial *material, + int layer_index); + + /** * cogl_material_set_layer_wrap_mode_t: * @material: A #CoglMaterial object @@ -1062,6 +1097,23 @@ cogl_material_set_layer_wrap_mode_t (CoglMaterial *material, int layer_index, CoglMaterialWrapMode mode); +/** + * cogl_material_get_layer_wrap_mode_p: + * @material: A #CoglMaterial object + * @layer_index: the layer number to change. + * + * Returns the wrap mode for the 'p' coordinate of texture lookups on this + * layer. + * + * Return value: the wrap mode for the 'p' coordinate of texture lookups on + * this layer. + * + * Since: 1.6 + */ +CoglMaterialWrapMode +cogl_material_get_layer_wrap_mode_p (CoglMaterial *material, + int layer_index); + /** * cogl_material_set_layer_wrap_mode_p: * @material: A #CoglMaterial object