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}
This commit is contained in:
Robert Bragg 2010-08-01 23:05:28 +01:00
parent 876bf6cb28
commit 0330a7a2e6

View File

@ -1032,6 +1032,23 @@ gboolean
cogl_material_get_layer_point_sprite_coords_enabled (CoglMaterial *material, cogl_material_get_layer_point_sprite_coords_enabled (CoglMaterial *material,
int layer_index); 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: * cogl_material_set_layer_wrap_mode_s:
* @material: A #CoglMaterial object * @material: A #CoglMaterial object
@ -1047,6 +1064,24 @@ cogl_material_set_layer_wrap_mode_s (CoglMaterial *material,
int layer_index, int layer_index,
CoglMaterialWrapMode mode); 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: * cogl_material_set_layer_wrap_mode_t:
* @material: A #CoglMaterial object * @material: A #CoglMaterial object
@ -1062,6 +1097,23 @@ cogl_material_set_layer_wrap_mode_t (CoglMaterial *material,
int layer_index, int layer_index,
CoglMaterialWrapMode mode); 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: * cogl_material_set_layer_wrap_mode_p:
* @material: A #CoglMaterial object * @material: A #CoglMaterial object