material: Adds missing get_layer_wrap_mode_xyz prototypes
authorRobert Bragg <robert@linux.intel.com>
Sun, 1 Aug 2010 22:05:28 +0000 (23:05 +0100)
committerRobert Bragg <robert@linux.intel.com>
Tue, 26 Oct 2010 12:02:23 +0000 (13:02 +0100)
This adds missing getter function prototypes for
cogl_material_get_layer_wrap_mode_{s,t,p}

clutter/cogl/cogl/cogl-material.h

index 75c487e..35cf7b9 100644 (file)
@@ -1033,6 +1033,23 @@ 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
  * @layer_index: the layer number to change.
@@ -1048,6 +1065,24 @@ cogl_material_set_layer_wrap_mode_s (CoglMaterial        *material,
                                      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
  * @layer_index: the layer number to change.
@@ -1063,6 +1098,23 @@ cogl_material_set_layer_wrap_mode_t (CoglMaterial        *material,
                                      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
  * @layer_index: the layer number to change.