From 0330a7a2e68531773107d14a81626aa1d7d77a51 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Sun, 1 Aug 2010 23:05:28 +0100 Subject: [PATCH] material: Adds missing get_layer_wrap_mode_xyz prototypes This adds missing getter function prototypes for cogl_material_get_layer_wrap_mode_{s,t,p} --- cogl/cogl-material.h | 52 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) 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