38
38
</tr></table></div>
39
39
<div class="refsynopsisdiv">
40
40
<a name="cogl-2.0-experimental-Pipeline.synopsis"></a><h2>Synopsis</h2>
41
<pre class="synopsis">#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-new" title="cogl_pipeline_new">cogl_pipeline_new</a>
42
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-copy" title="cogl_pipeline_copy">cogl_pipeline_copy</a>
43
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-is-pipeline" title="cogl_is_pipeline">cogl_is_pipeline</a>
44
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-color" title="cogl_pipeline_set_color">cogl_pipeline_set_color</a>
45
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-color4ub" title="cogl_pipeline_set_color4ub">cogl_pipeline_set_color4ub</a>
46
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-color4f" title="cogl_pipeline_set_color4f">cogl_pipeline_set_color4f</a>
47
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-color" title="cogl_pipeline_get_color">cogl_pipeline_get_color</a>
48
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-ambient" title="cogl_pipeline_set_ambient">cogl_pipeline_set_ambient</a>
49
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-ambient" title="cogl_pipeline_get_ambient">cogl_pipeline_get_ambient</a>
50
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-diffuse" title="cogl_pipeline_set_diffuse">cogl_pipeline_set_diffuse</a>
51
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-diffuse" title="cogl_pipeline_get_diffuse">cogl_pipeline_get_diffuse</a>
52
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-ambient-and-diffuse" title="cogl_pipeline_set_ambient_and_diffuse">cogl_pipeline_set_ambient_and_diffuse</a>
53
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-emission" title="cogl_pipeline_set_emission">cogl_pipeline_set_emission</a>
54
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-emission" title="cogl_pipeline_get_emission">cogl_pipeline_get_emission</a>
55
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-specular" title="cogl_pipeline_set_specular">cogl_pipeline_set_specular</a>
56
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-specular" title="cogl_pipeline_get_specular">cogl_pipeline_get_specular</a>
57
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-shininess" title="cogl_pipeline_set_shininess">cogl_pipeline_set_shininess</a>
58
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-shininess" title="cogl_pipeline_get_shininess">cogl_pipeline_get_shininess</a>
59
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-alpha-test-function" title="cogl_pipeline_set_alpha_test_function">cogl_pipeline_set_alpha_test_function</a>
41
<pre class="synopsis"><span class="returnvalue">CoglPipeline</span> * <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-new" title="cogl_pipeline_new ()">cogl_pipeline_new</a> (<em class="parameter"><code><span class="type">CoglContext</span> *context</code></em>);
42
<span class="returnvalue">CoglPipeline</span> * <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-copy" title="cogl_pipeline_copy ()">cogl_pipeline_copy</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *source</code></em>);
43
<span class="returnvalue">gboolean</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-is-pipeline" title="cogl_is_pipeline ()">cogl_is_pipeline</a> (<em class="parameter"><code><a href="../cogl/cogl-General-API.html#CoglHandle"><span class="type">CoglHandle</span></a> handle</code></em>);
44
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-color" title="cogl_pipeline_set_color ()">cogl_pipeline_set_color</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
45
<em class="parameter"><code>const <a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *color</code></em>);
46
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-color4ub" title="cogl_pipeline_set_color4ub ()">cogl_pipeline_set_color4ub</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
47
<em class="parameter"><code><span class="type">guint8</span> red</code></em>,
48
<em class="parameter"><code><span class="type">guint8</span> green</code></em>,
49
<em class="parameter"><code><span class="type">guint8</span> blue</code></em>,
50
<em class="parameter"><code><span class="type">guint8</span> alpha</code></em>);
51
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-color4f" title="cogl_pipeline_set_color4f ()">cogl_pipeline_set_color4f</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
52
<em class="parameter"><code><span class="type">float</span> red</code></em>,
53
<em class="parameter"><code><span class="type">float</span> green</code></em>,
54
<em class="parameter"><code><span class="type">float</span> blue</code></em>,
55
<em class="parameter"><code><span class="type">float</span> alpha</code></em>);
56
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-color" title="cogl_pipeline_get_color ()">cogl_pipeline_get_color</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
57
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *color</code></em>);
58
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-ambient" title="cogl_pipeline_set_ambient ()">cogl_pipeline_set_ambient</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
59
<em class="parameter"><code>const <a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *ambient</code></em>);
60
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-ambient" title="cogl_pipeline_get_ambient ()">cogl_pipeline_get_ambient</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
61
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *ambient</code></em>);
62
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-diffuse" title="cogl_pipeline_set_diffuse ()">cogl_pipeline_set_diffuse</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
63
<em class="parameter"><code>const <a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *diffuse</code></em>);
64
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-diffuse" title="cogl_pipeline_get_diffuse ()">cogl_pipeline_get_diffuse</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
65
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *diffuse</code></em>);
66
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-ambient-and-diffuse" title="cogl_pipeline_set_ambient_and_diffuse ()">cogl_pipeline_set_ambient_and_diffuse</a>
67
(<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
68
<em class="parameter"><code>const <a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *color</code></em>);
69
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-emission" title="cogl_pipeline_set_emission ()">cogl_pipeline_set_emission</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
70
<em class="parameter"><code>const <a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *emission</code></em>);
71
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-emission" title="cogl_pipeline_get_emission ()">cogl_pipeline_get_emission</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
72
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *emission</code></em>);
73
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-specular" title="cogl_pipeline_set_specular ()">cogl_pipeline_set_specular</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
74
<em class="parameter"><code>const <a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *specular</code></em>);
75
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-specular" title="cogl_pipeline_get_specular ()">cogl_pipeline_get_specular</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
76
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *specular</code></em>);
77
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-shininess" title="cogl_pipeline_set_shininess ()">cogl_pipeline_set_shininess</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
78
<em class="parameter"><code><span class="type">float</span> shininess</code></em>);
79
<span class="returnvalue">float</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-shininess" title="cogl_pipeline_get_shininess ()">cogl_pipeline_get_shininess</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>);
80
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-alpha-test-function" title="cogl_pipeline_set_alpha_test_function ()">cogl_pipeline_set_alpha_test_function</a>
81
(<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
82
<em class="parameter"><code><span class="type">CoglPipelineAlphaFunc</span> alpha_func</code></em>,
83
<em class="parameter"><code><span class="type">float</span> alpha_reference</code></em>);
60
84
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#COGL-BLEND-STRING-ERROR:CAPS" title="COGL_BLEND_STRING_ERROR">COGL_BLEND_STRING_ERROR</a>
61
85
enum <a class="link" href="cogl-2.0-experimental-Pipeline.html#CoglBlendStringError" title="enum CoglBlendStringError">CoglBlendStringError</a>;
62
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-blend" title="cogl_pipeline_set_blend">cogl_pipeline_set_blend</a>
63
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-blend-constant" title="cogl_pipeline_set_blend_constant">cogl_pipeline_set_blend_constant</a>
64
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-point-size" title="cogl_pipeline_set_point_size">cogl_pipeline_set_point_size</a>
65
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-point-size" title="cogl_pipeline_get_point_size">cogl_pipeline_get_point_size</a>
66
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-color-mask" title="cogl_pipeline_get_color_mask">cogl_pipeline_get_color_mask</a>
67
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-color-mask" title="cogl_pipeline_set_color_mask">cogl_pipeline_set_color_mask</a>
68
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-texture" title="cogl_pipeline_set_layer_texture">cogl_pipeline_set_layer_texture</a>
69
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-filters" title="cogl_pipeline_set_layer_filters">cogl_pipeline_set_layer_filters</a>
70
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode" title="cogl_pipeline_set_layer_wrap_mode">cogl_pipeline_set_layer_wrap_mode</a>
71
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode-s" title="cogl_pipeline_set_layer_wrap_mode_s">cogl_pipeline_set_layer_wrap_mode_s</a>
72
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode-t" title="cogl_pipeline_set_layer_wrap_mode_t">cogl_pipeline_set_layer_wrap_mode_t</a>
73
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode-p" title="cogl_pipeline_set_layer_wrap_mode_p">cogl_pipeline_set_layer_wrap_mode_p</a>
74
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-combine" title="cogl_pipeline_set_layer_combine">cogl_pipeline_set_layer_combine</a>
75
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-combine-constant" title="cogl_pipeline_set_layer_combine_constant">cogl_pipeline_set_layer_combine_constant</a>
76
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-matrix" title="cogl_pipeline_set_layer_matrix">cogl_pipeline_set_layer_matrix</a>
77
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-point-sprite-coords-enabled" title="cogl_pipeline_set_layer_point_sprite_coords_enabled">cogl_pipeline_set_layer_point_sprite_coords_enabled</a>
78
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-layer-point-sprite-coords-enabled" title="cogl_pipeline_get_layer_point_sprite_coords_enabled">cogl_pipeline_get_layer_point_sprite_coords_enabled</a>
79
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-remove-layer" title="cogl_pipeline_remove_layer">cogl_pipeline_remove_layer</a>
80
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-n-layers" title="cogl_pipeline_get_n_layers">cogl_pipeline_get_n_layers</a>
81
#define <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-foreach-layer" title="cogl_pipeline_foreach_layer">cogl_pipeline_foreach_layer</a>
86
<span class="returnvalue">gboolean</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-blend" title="cogl_pipeline_set_blend ()">cogl_pipeline_set_blend</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
87
<em class="parameter"><code>const <span class="type">char</span> *blend_string</code></em>,
88
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
89
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-blend-constant" title="cogl_pipeline_set_blend_constant ()">cogl_pipeline_set_blend_constant</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
90
<em class="parameter"><code>const <a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *constant_color</code></em>);
91
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-point-size" title="cogl_pipeline_set_point_size ()">cogl_pipeline_set_point_size</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
92
<em class="parameter"><code><span class="type">float</span> point_size</code></em>);
93
<span class="returnvalue">float</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-point-size" title="cogl_pipeline_get_point_size ()">cogl_pipeline_get_point_size</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>);
94
<a class="link" href="cogl-2.0-experimental-Common-Types.html#CoglColorMask" title="enum CoglColorMask"><span class="returnvalue">CoglColorMask</span></a> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-color-mask" title="cogl_pipeline_get_color_mask ()">cogl_pipeline_get_color_mask</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>);
95
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-color-mask" title="cogl_pipeline_set_color_mask ()">cogl_pipeline_set_color_mask</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
96
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Common-Types.html#CoglColorMask" title="enum CoglColorMask"><span class="type">CoglColorMask</span></a> color_mask</code></em>);
97
enum <a class="link" href="cogl-2.0-experimental-Pipeline.html#CoglPipelineCullFaceMode" title="enum CoglPipelineCullFaceMode">CoglPipelineCullFaceMode</a>;
98
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-cull-face-mode" title="cogl_pipeline_set_cull_face_mode ()">cogl_pipeline_set_cull_face_mode</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
99
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Pipeline.html#CoglPipelineCullFaceMode" title="enum CoglPipelineCullFaceMode"><span class="type">CoglPipelineCullFaceMode</span></a> cull_face_mode</code></em>);
100
enum <a class="link" href="cogl-2.0-experimental-Pipeline.html#CoglWinding" title="enum CoglWinding">CoglWinding</a>;
101
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-front-face-winding" title="cogl_pipeline_set_front_face_winding ()">cogl_pipeline_set_front_face_winding</a>
102
(<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
103
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Pipeline.html#CoglWinding" title="enum CoglWinding"><span class="type">CoglWinding</span></a> front_winding</code></em>);
104
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-texture" title="cogl_pipeline_set_layer_texture ()">cogl_pipeline_set_layer_texture</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
105
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
106
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-The-Texture-Interface.html#CoglTexture" title="CoglTexture"><span class="type">CoglTexture</span></a> *texture</code></em>);
107
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-null-texture" title="cogl_pipeline_set_layer_null_texture ()">cogl_pipeline_set_layer_null_texture</a>
108
(<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
109
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
110
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-The-Texture-Interface.html#CoglTextureType" title="enum CoglTextureType"><span class="type">CoglTextureType</span></a> texure_type</code></em>);
111
<a class="link" href="cogl-2.0-experimental-The-Texture-Interface.html#CoglTexture" title="CoglTexture"><span class="returnvalue">CoglTexture</span></a> * <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-layer-texture" title="cogl_pipeline_get_layer_texture ()">cogl_pipeline_get_layer_texture</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
112
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>);
113
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-filters" title="cogl_pipeline_set_layer_filters ()">cogl_pipeline_set_layer_filters</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
114
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
115
<em class="parameter"><code><span class="type">CoglPipelineFilter</span> min_filter</code></em>,
116
<em class="parameter"><code><span class="type">CoglPipelineFilter</span> mag_filter</code></em>);
117
<span class="returnvalue">CoglPipelineFilter</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-layer-min-filter" title="cogl_pipeline_get_layer_min_filter ()">cogl_pipeline_get_layer_min_filter</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
118
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>);
119
<span class="returnvalue">CoglPipelineFilter</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-layer-mag-filter" title="cogl_pipeline_get_layer_mag_filter ()">cogl_pipeline_get_layer_mag_filter</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
120
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>);
121
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode" title="cogl_pipeline_set_layer_wrap_mode ()">cogl_pipeline_set_layer_wrap_mode</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
122
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
123
<em class="parameter"><code><span class="type">CoglPipelineWrapMode</span> mode</code></em>);
124
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode-s" title="cogl_pipeline_set_layer_wrap_mode_s ()">cogl_pipeline_set_layer_wrap_mode_s</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
125
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
126
<em class="parameter"><code><span class="type">CoglPipelineWrapMode</span> mode</code></em>);
127
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode-t" title="cogl_pipeline_set_layer_wrap_mode_t ()">cogl_pipeline_set_layer_wrap_mode_t</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
128
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
129
<em class="parameter"><code><span class="type">CoglPipelineWrapMode</span> mode</code></em>);
130
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode-p" title="cogl_pipeline_set_layer_wrap_mode_p ()">cogl_pipeline_set_layer_wrap_mode_p</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
131
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
132
<em class="parameter"><code><span class="type">CoglPipelineWrapMode</span> mode</code></em>);
133
<span class="returnvalue">gboolean</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-combine" title="cogl_pipeline_set_layer_combine ()">cogl_pipeline_set_layer_combine</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
134
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
135
<em class="parameter"><code>const <span class="type">char</span> *blend_string</code></em>,
136
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
137
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-combine-constant" title="cogl_pipeline_set_layer_combine_constant ()">cogl_pipeline_set_layer_combine_constant</a>
138
(<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
139
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
140
<em class="parameter"><code>const <a class="link" href="cogl-2.0-experimental-Color-Type.html#CoglColor" title="struct CoglColor"><span class="type">CoglColor</span></a> *constant</code></em>);
141
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-matrix" title="cogl_pipeline_set_layer_matrix ()">cogl_pipeline_set_layer_matrix</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
142
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
143
<em class="parameter"><code>const <a class="link" href="cogl-2.0-experimental-Matrices.html#CoglMatrix" title="CoglMatrix"><span class="type">CoglMatrix</span></a> *matrix</code></em>);
144
<span class="returnvalue">gboolean</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-point-sprite-coords-enabled" title="cogl_pipeline_set_layer_point_sprite_coords_enabled ()">cogl_pipeline_set_layer_point_sprite_coords_enabled</a>
145
(<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
146
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
147
<em class="parameter"><code><span class="type">gboolean</span> enable</code></em>,
148
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
149
<span class="returnvalue">gboolean</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-layer-point-sprite-coords-enabled" title="cogl_pipeline_get_layer_point_sprite_coords_enabled ()">cogl_pipeline_get_layer_point_sprite_coords_enabled</a>
150
(<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
151
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>);
152
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-remove-layer" title="cogl_pipeline_remove_layer ()">cogl_pipeline_remove_layer</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
153
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>);
154
<span class="returnvalue">int</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-n-layers" title="cogl_pipeline_get_n_layers ()">cogl_pipeline_get_n_layers</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>);
155
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-foreach-layer" title="cogl_pipeline_foreach_layer ()">cogl_pipeline_foreach_layer</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
156
<em class="parameter"><code><span class="type">CoglPipelineLayerCallback</span> callback</code></em>,
157
<em class="parameter"><code><span class="type">void</span> *user_data</code></em>);
158
<span class="returnvalue">int</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-uniform-location" title="cogl_pipeline_get_uniform_location ()">cogl_pipeline_get_uniform_location</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
159
<em class="parameter"><code>const <span class="type">char</span> *uniform_name</code></em>);
160
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-uniform-1f" title="cogl_pipeline_set_uniform_1f ()">cogl_pipeline_set_uniform_1f</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
161
<em class="parameter"><code><span class="type">int</span> uniform_location</code></em>,
162
<em class="parameter"><code><span class="type">float</span> value</code></em>);
163
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-uniform-1i" title="cogl_pipeline_set_uniform_1i ()">cogl_pipeline_set_uniform_1i</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
164
<em class="parameter"><code><span class="type">int</span> uniform_location</code></em>,
165
<em class="parameter"><code><span class="type">int</span> value</code></em>);
166
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-uniform-float" title="cogl_pipeline_set_uniform_float ()">cogl_pipeline_set_uniform_float</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
167
<em class="parameter"><code><span class="type">int</span> uniform_location</code></em>,
168
<em class="parameter"><code><span class="type">int</span> n_components</code></em>,
169
<em class="parameter"><code><span class="type">int</span> count</code></em>,
170
<em class="parameter"><code>const <span class="type">float</span> *value</code></em>);
171
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-uniform-int" title="cogl_pipeline_set_uniform_int ()">cogl_pipeline_set_uniform_int</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
172
<em class="parameter"><code><span class="type">int</span> uniform_location</code></em>,
173
<em class="parameter"><code><span class="type">int</span> n_components</code></em>,
174
<em class="parameter"><code><span class="type">int</span> count</code></em>,
175
<em class="parameter"><code>const <span class="type">int</span> *value</code></em>);
176
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-uniform-matrix" title="cogl_pipeline_set_uniform_matrix ()">cogl_pipeline_set_uniform_matrix</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
177
<em class="parameter"><code><span class="type">int</span> uniform_location</code></em>,
178
<em class="parameter"><code><span class="type">int</span> dimensions</code></em>,
179
<em class="parameter"><code><span class="type">int</span> count</code></em>,
180
<em class="parameter"><code><span class="type">gboolean</span> transpose</code></em>,
181
<em class="parameter"><code>const <span class="type">float</span> *value</code></em>);
182
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-add-snippet" title="cogl_pipeline_add_snippet ()">cogl_pipeline_add_snippet</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
183
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Shader-snippets.html#CoglSnippet" title="CoglSnippet"><span class="type">CoglSnippet</span></a> *snippet</code></em>);
184
<span class="returnvalue">void</span> <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-add-layer-snippet" title="cogl_pipeline_add_layer_snippet ()">cogl_pipeline_add_layer_snippet</a> (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
185
<em class="parameter"><code><span class="type">int</span> layer</code></em>,
186
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Shader-snippets.html#CoglSnippet" title="CoglSnippet"><span class="type">CoglSnippet</span></a> *snippet</code></em>);
84
189
<div class="refsect1">
981
1099
<div class="refsect2">
982
<a name="cogl-pipeline-set-layer-texture"></a><h3>cogl_pipeline_set_layer_texture</h3>
983
<pre class="programlisting">#define cogl_pipeline_set_layer_texture cogl_pipeline_set_layer_texture_EXP
987
<div class="refsect2">
988
<a name="cogl-pipeline-set-layer-filters"></a><h3>cogl_pipeline_set_layer_filters</h3>
989
<pre class="programlisting">#define cogl_pipeline_set_layer_filters cogl_pipeline_set_layer_filters_EXP
1100
<a name="CoglPipelineCullFaceMode"></a><h3>enum CoglPipelineCullFaceMode</h3>
1101
<pre class="programlisting">typedef enum
1103
COGL_PIPELINE_CULL_FACE_MODE_NONE,
1104
COGL_PIPELINE_CULL_FACE_MODE_FRONT,
1105
COGL_PIPELINE_CULL_FACE_MODE_BACK,
1106
COGL_PIPELINE_CULL_FACE_MODE_BOTH
1107
} CoglPipelineCullFaceMode;
1110
Specifies which faces should be culled. This can be set on a
1111
pipeline using <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-cull-face-mode" title="cogl_pipeline_set_cull_face_mode ()"><code class="function">cogl_pipeline_set_cull_face_mode()</code></a>.
1113
<div class="variablelist"><table border="0">
1114
<col align="left" valign="top">
1117
<td><p><a name="COGL-PIPELINE-CULL-FACE-MODE-NONE:CAPS"></a><span class="term"><code class="literal">COGL_PIPELINE_CULL_FACE_MODE_NONE</code></span></p></td>
1118
<td>Neither face will be
1119
culled. This is the default.
1123
<td><p><a name="COGL-PIPELINE-CULL-FACE-MODE-FRONT:CAPS"></a><span class="term"><code class="literal">COGL_PIPELINE_CULL_FACE_MODE_FRONT</code></span></p></td>
1124
<td>Front faces will be culled.
1128
<td><p><a name="COGL-PIPELINE-CULL-FACE-MODE-BACK:CAPS"></a><span class="term"><code class="literal">COGL_PIPELINE_CULL_FACE_MODE_BACK</code></span></p></td>
1129
<td>Back faces will be culled.
1133
<td><p><a name="COGL-PIPELINE-CULL-FACE-MODE-BOTH:CAPS"></a><span class="term"><code class="literal">COGL_PIPELINE_CULL_FACE_MODE_BOTH</code></span></p></td>
1134
<td>All faces will be culled.
1141
<div class="refsect2">
1142
<a name="cogl-pipeline-set-cull-face-mode"></a><h3>cogl_pipeline_set_cull_face_mode ()</h3>
1143
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_set_cull_face_mode (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
1144
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Pipeline.html#CoglPipelineCullFaceMode" title="enum CoglPipelineCullFaceMode"><span class="type">CoglPipelineCullFaceMode</span></a> cull_face_mode</code></em>);</pre>
1146
Sets which faces will be culled when drawing. Face culling can be
1147
used to increase efficiency by avoiding drawing faces that would
1148
get overridden. For example, if a model has gaps so that it is
1149
impossible to see the inside then faces which are facing away from
1150
the screen will never be seen so there is no point in drawing
1151
them. This can be acheived by setting the cull face mode to
1152
<a class="link" href="cogl-2.0-experimental-Pipeline.html#COGL-PIPELINE-CULL-FACE-MODE-BACK:CAPS"><code class="literal">COGL_PIPELINE_CULL_FACE_MODE_BACK</code></a>.
1155
Face culling relies on the primitives being drawn with a specific
1156
order to represent which faces are facing inside and outside the
1157
model. This order can be specified by calling
1158
<a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-front-face-winding" title="cogl_pipeline_set_front_face_winding ()"><code class="function">cogl_pipeline_set_front_face_winding()</code></a>.
1163
<div class="variablelist"><table border="0">
1164
<col align="left" valign="top">
1167
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
1168
<td>A <span class="type">CoglPipeline</span>
1172
<td><p><span class="term"><em class="parameter"><code>cull_face_mode</code></em> :</span></p></td>
1173
<td>The new mode to set</td>
1177
<p class="since">Since 2.0</p>
1180
<div class="refsect2">
1181
<a name="CoglWinding"></a><h3>enum CoglWinding</h3>
1182
<pre class="programlisting">typedef enum
1184
COGL_WINDING_CLOCKWISE,
1185
COGL_WINDING_COUNTER_CLOCKWISE
1189
Enum used to represent the two directions of rotation. This can be
1190
used to set the front face for culling by calling
1191
<a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-front-face-winding" title="cogl_pipeline_set_front_face_winding ()"><code class="function">cogl_pipeline_set_front_face_winding()</code></a>.
1193
<div class="variablelist"><table border="0">
1194
<col align="left" valign="top">
1197
<td><p><a name="COGL-WINDING-CLOCKWISE:CAPS"></a><span class="term"><code class="literal">COGL_WINDING_CLOCKWISE</code></span></p></td>
1198
<td>Vertices are in a clockwise order
1202
<td><p><a name="COGL-WINDING-COUNTER-CLOCKWISE:CAPS"></a><span class="term"><code class="literal">COGL_WINDING_COUNTER_CLOCKWISE</code></span></p></td>
1203
<td>Vertices are in a counter-clockwise order
1210
<div class="refsect2">
1211
<a name="cogl-pipeline-set-front-face-winding"></a><h3>cogl_pipeline_set_front_face_winding ()</h3>
1212
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_set_front_face_winding
1213
(<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
1214
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Pipeline.html#CoglWinding" title="enum CoglWinding"><span class="type">CoglWinding</span></a> front_winding</code></em>);</pre>
1216
The order of the vertices within a primitive specifies whether it
1217
is considered to be front or back facing. This function specifies
1218
which order is considered to be the front
1219
faces. <a class="link" href="cogl-2.0-experimental-Pipeline.html#COGL-WINDING-COUNTER-CLOCKWISE:CAPS"><code class="literal">COGL_WINDING_COUNTER_CLOCKWISE</code></a> sets the front faces to
1220
primitives with vertices in a counter-clockwise order and
1221
<a class="link" href="cogl-2.0-experimental-Pipeline.html#COGL-WINDING-CLOCKWISE:CAPS"><code class="literal">COGL_WINDING_CLOCKWISE</code></a> sets them to be clockwise. The default is
1222
<a class="link" href="cogl-2.0-experimental-Pipeline.html#COGL-WINDING-COUNTER-CLOCKWISE:CAPS"><code class="literal">COGL_WINDING_COUNTER_CLOCKWISE</code></a>.
1227
<p class="since">Since 2.0</p>
1230
<div class="refsect2">
1231
<a name="cogl-pipeline-set-layer-texture"></a><h3>cogl_pipeline_set_layer_texture ()</h3>
1232
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_set_layer_texture (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
1233
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
1234
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-The-Texture-Interface.html#CoglTexture" title="CoglTexture"><span class="type">CoglTexture</span></a> *texture</code></em>);</pre>
1237
<div class="refsect2">
1238
<a name="cogl-pipeline-set-layer-null-texture"></a><h3>cogl_pipeline_set_layer_null_texture ()</h3>
1239
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_set_layer_null_texture
1240
(<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
1241
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
1242
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-The-Texture-Interface.html#CoglTextureType" title="enum CoglTextureType"><span class="type">CoglTextureType</span></a> texure_type</code></em>);</pre>
1244
Sets the texture for this layer to be the default texture for the
1245
given type. This is equivalent to calling
1246
<a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-texture" title="cogl_pipeline_set_layer_texture ()"><code class="function">cogl_pipeline_set_layer_texture()</code></a> with <code class="literal">NULL</code> for the texture
1247
argument except that you can also specify the type of default
1248
texture to use. The default texture is a 1x1 pixel white texture.
1251
This function is mostly useful if you want to create a base
1252
pipeline that you want to create multiple copies from using
1253
<a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-copy" title="cogl_pipeline_copy ()"><code class="function">cogl_pipeline_copy()</code></a>. In that case this function can be used to
1254
specify the texture type so that any pipeline copies can share the
1255
internal texture type state for efficiency.
1257
<div class="variablelist"><table border="0">
1258
<col align="left" valign="top">
1261
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
1262
<td>A <span class="type">CoglPipeline</span>
1266
<td><p><span class="term"><em class="parameter"><code>layer_index</code></em> :</span></p></td>
1267
<td>The layer number to modify</td>
1270
<td><p><span class="term"><em class="parameter"><code>texture_type</code></em> :</span></p></td>
1271
<td>The type of the default texture to use</td>
1275
<p class="since">Since 1.10</p>
1276
<p class="stability">Stability Level: Unstable</p>
1279
<div class="refsect2">
1280
<a name="cogl-pipeline-get-layer-texture"></a><h3>cogl_pipeline_get_layer_texture ()</h3>
1281
<pre class="programlisting"><a class="link" href="cogl-2.0-experimental-The-Texture-Interface.html#CoglTexture" title="CoglTexture"><span class="returnvalue">CoglTexture</span></a> * cogl_pipeline_get_layer_texture (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
1282
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>);</pre>
1283
<div class="variablelist"><table border="0">
1284
<col align="left" valign="top">
1287
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
1288
<td>A <span class="type">CoglPipeline</span> object</td>
1291
<td><p><span class="term"><em class="parameter"><code>layer_index</code></em> :</span></p></td>
1292
<td>the index of the layer</td>
1295
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1296
<td>the texture that was set for the given layer of the
1297
pipeline or <code class="literal">NULL</code> if no texture was set.</td>
1301
<p class="since">Since 1.10</p>
1302
<p class="stability">Stability Level: Unstable</p>
1305
<div class="refsect2">
1306
<a name="cogl-pipeline-set-layer-filters"></a><h3>cogl_pipeline_set_layer_filters ()</h3>
1307
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_set_layer_filters (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
1308
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
1309
<em class="parameter"><code><span class="type">CoglPipelineFilter</span> min_filter</code></em>,
1310
<em class="parameter"><code><span class="type">CoglPipelineFilter</span> mag_filter</code></em>);</pre>
992
1312
Changes the decimation and interpolation filters used when a texture is
993
1313
drawn at other scales than 100%.
1018
<div class="refsect2">
1019
<a name="cogl-pipeline-set-layer-wrap-mode"></a><h3>cogl_pipeline_set_layer_wrap_mode</h3>
1020
<pre class="programlisting">#define cogl_pipeline_set_layer_wrap_mode</pre>
1336
<p class="since">Since 1.10</p>
1337
<p class="stability">Stability Level: Unstable</p>
1340
<div class="refsect2">
1341
<a name="cogl-pipeline-get-layer-min-filter"></a><h3>cogl_pipeline_get_layer_min_filter ()</h3>
1342
<pre class="programlisting"><span class="returnvalue">CoglPipelineFilter</span> cogl_pipeline_get_layer_min_filter (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
1343
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>);</pre>
1345
Retrieves the currently set minification <span class="type">CoglPipelineFilter</span> set on
1346
the specified layer. The miniifcation filter determines how the
1347
layer should be sampled when down-scaled.
1350
The default filter is <code class="literal">COGL_PIPELINE_FILTER_LINEAR</code> but this can be
1351
changed using <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-filters" title="cogl_pipeline_set_layer_filters ()"><code class="function">cogl_pipeline_set_layer_filters()</code></a>.
1353
<div class="variablelist"><table border="0">
1354
<col align="left" valign="top">
1357
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
1358
<td>A <span class="type">CoglPipeline</span> object</td>
1361
<td><p><span class="term"><em class="parameter"><code>layer_index</code></em> :</span></p></td>
1362
<td>the layer number to change.</td>
1365
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1366
<td>The minification <span class="type">CoglPipelineFilter</span> for the
1367
specified layer.</td>
1371
<p class="since">Since 1.10</p>
1372
<p class="stability">Stability Level: Unstable</p>
1375
<div class="refsect2">
1376
<a name="cogl-pipeline-get-layer-mag-filter"></a><h3>cogl_pipeline_get_layer_mag_filter ()</h3>
1377
<pre class="programlisting"><span class="returnvalue">CoglPipelineFilter</span> cogl_pipeline_get_layer_mag_filter (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
1378
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>);</pre>
1380
Retrieves the currently set magnification <span class="type">CoglPipelineFilter</span> set on
1381
the specified layer. The magnification filter determines how the
1382
layer should be sampled when up-scaled.
1385
The default filter is <code class="literal">COGL_PIPELINE_FILTER_LINEAR</code> but this can be
1386
changed using <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-filters" title="cogl_pipeline_set_layer_filters ()"><code class="function">cogl_pipeline_set_layer_filters()</code></a>.
1388
<div class="variablelist"><table border="0">
1389
<col align="left" valign="top">
1392
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
1393
<td>A <span class="type">CoglPipeline</span> object</td>
1396
<td><p><span class="term"><em class="parameter"><code>layer_index</code></em> :</span></p></td>
1397
<td>the layer number to change.</td>
1400
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1401
<td>The magnification <span class="type">CoglPipelineFilter</span> for the
1402
specified layer.</td>
1406
<p class="since">Since 1.10</p>
1407
<p class="stability">Stability Level: Unstable</p>
1410
<div class="refsect2">
1411
<a name="cogl-pipeline-set-layer-wrap-mode"></a><h3>cogl_pipeline_set_layer_wrap_mode ()</h3>
1412
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_set_layer_wrap_mode (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
1413
<em class="parameter"><code><span class="type">int</span> layer_index</code></em>,
1414
<em class="parameter"><code><span class="type">CoglPipelineWrapMode</span> mode</code></em>);</pre>
1022
1416
Sets the wrap mode for all three coordinates of texture lookups on
1023
1417
this layer. This is equivalent to calling
1024
<a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode-s" title="cogl_pipeline_set_layer_wrap_mode_s"><code class="function">cogl_pipeline_set_layer_wrap_mode_s()</code></a>,
1025
<a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode-t" title="cogl_pipeline_set_layer_wrap_mode_t"><code class="function">cogl_pipeline_set_layer_wrap_mode_t()</code></a> and
1026
<a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode-p" title="cogl_pipeline_set_layer_wrap_mode_p"><code class="function">cogl_pipeline_set_layer_wrap_mode_p()</code></a> separately.
1418
<a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode-s" title="cogl_pipeline_set_layer_wrap_mode_s ()"><code class="function">cogl_pipeline_set_layer_wrap_mode_s()</code></a>,
1419
<a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode-t" title="cogl_pipeline_set_layer_wrap_mode_t ()"><code class="function">cogl_pipeline_set_layer_wrap_mode_t()</code></a> and
1420
<a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-layer-wrap-mode-p" title="cogl_pipeline_set_layer_wrap_mode_p ()"><code class="function">cogl_pipeline_set_layer_wrap_mode_p()</code></a> separately.
1028
1422
<div class="variablelist"><table border="0">
1029
1423
<col align="left" valign="top">
1472
1897
<p class="since">Since 2.0</p>
1473
1898
<p class="stability">Stability Level: Unstable</p>
1901
<div class="refsect2">
1902
<a name="cogl-pipeline-get-uniform-location"></a><h3>cogl_pipeline_get_uniform_location ()</h3>
1903
<pre class="programlisting"><span class="returnvalue">int</span> cogl_pipeline_get_uniform_location (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
1904
<em class="parameter"><code>const <span class="type">char</span> *uniform_name</code></em>);</pre>
1906
This is used to get an integer representing the uniform with the
1907
name <em class="parameter"><code>uniform_name</code></em>. The integer can be passed to functions such as
1908
<a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-set-uniform-1f" title="cogl_pipeline_set_uniform_1f ()"><code class="function">cogl_pipeline_set_uniform_1f()</code></a> to set the value of a uniform.
1911
This function will always return a valid integer. Ie, unlike
1912
OpenGL, it does not return -1 if the uniform is not available in
1913
this pipeline so it can not be used to test whether uniforms are
1914
present. It is not necessary to set the program on the pipeline
1915
before calling this function.
1917
<div class="variablelist"><table border="0">
1918
<col align="left" valign="top">
1921
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
1922
<td>A <span class="type">CoglPipeline</span> object</td>
1925
<td><p><span class="term"><em class="parameter"><code>uniform_name</code></em> :</span></p></td>
1926
<td>The name of a uniform</td>
1929
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1930
<td>A integer representing the location of the given uniform.</td>
1934
<p class="since">Since 2.0</p>
1935
<p class="stability">Stability Level: Unstable</p>
1938
<div class="refsect2">
1939
<a name="cogl-pipeline-set-uniform-1f"></a><h3>cogl_pipeline_set_uniform_1f ()</h3>
1940
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_set_uniform_1f (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
1941
<em class="parameter"><code><span class="type">int</span> uniform_location</code></em>,
1942
<em class="parameter"><code><span class="type">float</span> value</code></em>);</pre>
1944
Sets a new value for the uniform at <em class="parameter"><code>uniform_location</code></em>. If this
1945
pipeline has a user program attached and is later used as a source
1946
for drawing, the given value will be assigned to the uniform which
1947
can be accessed from the shader's source. The value for
1948
<em class="parameter"><code>uniform_location</code></em> should be retrieved from the string name of the
1949
uniform by calling <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-uniform-location" title="cogl_pipeline_get_uniform_location ()"><code class="function">cogl_pipeline_get_uniform_location()</code></a>.
1952
This function should be used to set uniforms that are of type
1953
float. It can also be used to set a single member of a float array
1956
<div class="variablelist"><table border="0">
1957
<col align="left" valign="top">
1960
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
1961
<td>A <span class="type">CoglPipeline</span> object</td>
1964
<td><p><span class="term"><em class="parameter"><code>uniform_location</code></em> :</span></p></td>
1965
<td>The uniform's location identifier</td>
1968
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
1969
<td>The new value for the uniform</td>
1973
<p class="since">Since 2.0</p>
1974
<p class="stability">Stability Level: Unstable</p>
1977
<div class="refsect2">
1978
<a name="cogl-pipeline-set-uniform-1i"></a><h3>cogl_pipeline_set_uniform_1i ()</h3>
1979
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_set_uniform_1i (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
1980
<em class="parameter"><code><span class="type">int</span> uniform_location</code></em>,
1981
<em class="parameter"><code><span class="type">int</span> value</code></em>);</pre>
1983
Sets a new value for the uniform at <em class="parameter"><code>uniform_location</code></em>. If this
1984
pipeline has a user program attached and is later used as a source
1985
for drawing, the given value will be assigned to the uniform which
1986
can be accessed from the shader's source. The value for
1987
<em class="parameter"><code>uniform_location</code></em> should be retrieved from the string name of the
1988
uniform by calling <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-uniform-location" title="cogl_pipeline_get_uniform_location ()"><code class="function">cogl_pipeline_get_uniform_location()</code></a>.
1991
This function should be used to set uniforms that are of type
1992
int. It can also be used to set a single member of a int array
1993
uniform or a sampler uniform.
1995
<div class="variablelist"><table border="0">
1996
<col align="left" valign="top">
1999
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
2000
<td>A <span class="type">CoglPipeline</span> object</td>
2003
<td><p><span class="term"><em class="parameter"><code>uniform_location</code></em> :</span></p></td>
2004
<td>The uniform's location identifier</td>
2007
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
2008
<td>The new value for the uniform</td>
2012
<p class="since">Since 2.0</p>
2013
<p class="stability">Stability Level: Unstable</p>
2016
<div class="refsect2">
2017
<a name="cogl-pipeline-set-uniform-float"></a><h3>cogl_pipeline_set_uniform_float ()</h3>
2018
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_set_uniform_float (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
2019
<em class="parameter"><code><span class="type">int</span> uniform_location</code></em>,
2020
<em class="parameter"><code><span class="type">int</span> n_components</code></em>,
2021
<em class="parameter"><code><span class="type">int</span> count</code></em>,
2022
<em class="parameter"><code>const <span class="type">float</span> *value</code></em>);</pre>
2024
Sets new values for the uniform at <em class="parameter"><code>uniform_location</code></em>. If this
2025
pipeline has a user program attached and is later used as a source
2026
for drawing, the given values will be assigned to the uniform which
2027
can be accessed from the shader's source. The value for
2028
<em class="parameter"><code>uniform_location</code></em> should be retrieved from the string name of the
2029
uniform by calling <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-uniform-location" title="cogl_pipeline_get_uniform_location ()"><code class="function">cogl_pipeline_get_uniform_location()</code></a>.
2032
This function can be used to set any floating point type uniform,
2033
including float arrays and float vectors. For example, to set a
2034
single vec4 uniform you would use 4 for <em class="parameter"><code>n_components</code></em> and 1 for
2035
<em class="parameter"><code>count</code></em>. To set an array of 8 float values, you could use 1 for
2036
<em class="parameter"><code>n_components</code></em> and 8 for <em class="parameter"><code>count</code></em>.
2038
<div class="variablelist"><table border="0">
2039
<col align="left" valign="top">
2042
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
2043
<td>A <span class="type">CoglPipeline</span> object</td>
2046
<td><p><span class="term"><em class="parameter"><code>uniform_location</code></em> :</span></p></td>
2047
<td>The uniform's location identifier</td>
2050
<td><p><span class="term"><em class="parameter"><code>n_components</code></em> :</span></p></td>
2051
<td>The number of components in the corresponding uniform's type</td>
2054
<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
2055
<td>The number of values to set</td>
2058
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
2059
<td>Pointer to the new values to set</td>
2063
<p class="since">Since 2.0</p>
2064
<p class="stability">Stability Level: Unstable</p>
2067
<div class="refsect2">
2068
<a name="cogl-pipeline-set-uniform-int"></a><h3>cogl_pipeline_set_uniform_int ()</h3>
2069
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_set_uniform_int (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
2070
<em class="parameter"><code><span class="type">int</span> uniform_location</code></em>,
2071
<em class="parameter"><code><span class="type">int</span> n_components</code></em>,
2072
<em class="parameter"><code><span class="type">int</span> count</code></em>,
2073
<em class="parameter"><code>const <span class="type">int</span> *value</code></em>);</pre>
2075
Sets new values for the uniform at <em class="parameter"><code>uniform_location</code></em>. If this
2076
pipeline has a user program attached and is later used as a source
2077
for drawing, the given values will be assigned to the uniform which
2078
can be accessed from the shader's source. The value for
2079
<em class="parameter"><code>uniform_location</code></em> should be retrieved from the string name of the
2080
uniform by calling <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-uniform-location" title="cogl_pipeline_get_uniform_location ()"><code class="function">cogl_pipeline_get_uniform_location()</code></a>.
2083
This function can be used to set any integer type uniform,
2084
including int arrays and int vectors. For example, to set a single
2085
ivec4 uniform you would use 4 for <em class="parameter"><code>n_components</code></em> and 1 for
2086
<em class="parameter"><code>count</code></em>. To set an array of 8 int values, you could use 1 for
2087
<em class="parameter"><code>n_components</code></em> and 8 for <em class="parameter"><code>count</code></em>.
2089
<div class="variablelist"><table border="0">
2090
<col align="left" valign="top">
2093
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
2094
<td>A <span class="type">CoglPipeline</span> object</td>
2097
<td><p><span class="term"><em class="parameter"><code>uniform_location</code></em> :</span></p></td>
2098
<td>The uniform's location identifier</td>
2101
<td><p><span class="term"><em class="parameter"><code>n_components</code></em> :</span></p></td>
2102
<td>The number of components in the corresponding uniform's type</td>
2105
<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
2106
<td>The number of values to set</td>
2109
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
2110
<td>Pointer to the new values to set</td>
2114
<p class="since">Since 2.0</p>
2115
<p class="stability">Stability Level: Unstable</p>
2118
<div class="refsect2">
2119
<a name="cogl-pipeline-set-uniform-matrix"></a><h3>cogl_pipeline_set_uniform_matrix ()</h3>
2120
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_set_uniform_matrix (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
2121
<em class="parameter"><code><span class="type">int</span> uniform_location</code></em>,
2122
<em class="parameter"><code><span class="type">int</span> dimensions</code></em>,
2123
<em class="parameter"><code><span class="type">int</span> count</code></em>,
2124
<em class="parameter"><code><span class="type">gboolean</span> transpose</code></em>,
2125
<em class="parameter"><code>const <span class="type">float</span> *value</code></em>);</pre>
2127
Sets new values for the uniform at <em class="parameter"><code>uniform_location</code></em>. If this
2128
pipeline has a user program attached and is later used as a source
2129
for drawing, the given values will be assigned to the uniform which
2130
can be accessed from the shader's source. The value for
2131
<em class="parameter"><code>uniform_location</code></em> should be retrieved from the string name of the
2132
uniform by calling <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-get-uniform-location" title="cogl_pipeline_get_uniform_location ()"><code class="function">cogl_pipeline_get_uniform_location()</code></a>.
2135
This function can be used to set any matrix type uniform, including
2136
matrix arrays. For example, to set a single mat4 uniform you would
2137
use 4 for <em class="parameter"><code>dimensions</code></em> and 1 for <em class="parameter"><code>count</code></em>. To set an array of 8
2138
mat3 values, you could use 3 for <em class="parameter"><code>dimensions</code></em> and 8 for <em class="parameter"><code>count</code></em>.
2141
If <em class="parameter"><code>transpose</code></em> is <code class="literal">FALSE</code> then the matrix is expected to be in
2142
column-major order or if it is <code class="literal">TRUE</code> then the matrix is in
2143
row-major order. You can pass a <a class="link" href="cogl-2.0-experimental-Matrices.html#CoglMatrix" title="CoglMatrix"><span class="type">CoglMatrix</span></a> by calling by passing
2144
the result of <a class="link" href="cogl-2.0-experimental-Matrices.html#cogl-matrix-get-array" title="cogl_matrix_get_array ()"><code class="function">cogl_matrix_get_array()</code></a> in <em class="parameter"><code>value</code></em> and setting
2145
<em class="parameter"><code>transpose</code></em> to <code class="literal">FALSE</code>.
2147
<div class="variablelist"><table border="0">
2148
<col align="left" valign="top">
2151
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
2152
<td>A <span class="type">CoglPipeline</span> object</td>
2155
<td><p><span class="term"><em class="parameter"><code>uniform_location</code></em> :</span></p></td>
2156
<td>The uniform's location identifier</td>
2159
<td><p><span class="term"><em class="parameter"><code>dimensions</code></em> :</span></p></td>
2160
<td>The size of the matrix</td>
2163
<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
2164
<td>The number of values to set</td>
2167
<td><p><span class="term"><em class="parameter"><code>transpose</code></em> :</span></p></td>
2168
<td>Whether to transpose the matrix</td>
2171
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
2172
<td>Pointer to the new values to set</td>
2176
<p class="since">Since 2.0</p>
2177
<p class="stability">Stability Level: Unstable</p>
2180
<div class="refsect2">
2181
<a name="cogl-pipeline-add-snippet"></a><h3>cogl_pipeline_add_snippet ()</h3>
2182
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_add_snippet (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
2183
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Shader-snippets.html#CoglSnippet" title="CoglSnippet"><span class="type">CoglSnippet</span></a> *snippet</code></em>);</pre>
2185
Adds a shader snippet to <em class="parameter"><code>pipeline</code></em>. The snippet will wrap around or
2186
replace some part of the pipeline as defined by the hook point in
2187
<em class="parameter"><code>snippet</code></em>. Note that some hook points are specific to a layer and
2188
must be added with <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-add-layer-snippet" title="cogl_pipeline_add_layer_snippet ()"><code class="function">cogl_pipeline_add_layer_snippet()</code></a> instead.
2190
<div class="variablelist"><table border="0">
2191
<col align="left" valign="top">
2194
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
2195
<td>A <span class="type">CoglPipeline</span>
2199
<td><p><span class="term"><em class="parameter"><code>snippet</code></em> :</span></p></td>
2200
<td>The <a class="link" href="cogl-2.0-experimental-Shader-snippets.html#CoglSnippet" title="CoglSnippet"><span class="type">CoglSnippet</span></a> to add to the vertex processing hook</td>
2204
<p class="since">Since 1.10</p>
2205
<p class="stability">Stability Level: Unstable</p>
2208
<div class="refsect2">
2209
<a name="cogl-pipeline-add-layer-snippet"></a><h3>cogl_pipeline_add_layer_snippet ()</h3>
2210
<pre class="programlisting"><span class="returnvalue">void</span> cogl_pipeline_add_layer_snippet (<em class="parameter"><code><span class="type">CoglPipeline</span> *pipeline</code></em>,
2211
<em class="parameter"><code><span class="type">int</span> layer</code></em>,
2212
<em class="parameter"><code><a class="link" href="cogl-2.0-experimental-Shader-snippets.html#CoglSnippet" title="CoglSnippet"><span class="type">CoglSnippet</span></a> *snippet</code></em>);</pre>
2214
Adds a shader snippet that will hook on to the given layer of the
2215
pipeline. The exact part of the pipeline that the snippet wraps
2216
around depends on the hook that is given to
2217
<a class="link" href="cogl-2.0-experimental-Shader-snippets.html#cogl-snippet-new" title="cogl_snippet_new ()"><code class="function">cogl_snippet_new()</code></a>. Note that some hooks can't be used with a layer
2218
and need to be added with <a class="link" href="cogl-2.0-experimental-Pipeline.html#cogl-pipeline-add-snippet" title="cogl_pipeline_add_snippet ()"><code class="function">cogl_pipeline_add_snippet()</code></a> instead.
2220
<div class="variablelist"><table border="0">
2221
<col align="left" valign="top">
2224
<td><p><span class="term"><em class="parameter"><code>pipeline</code></em> :</span></p></td>
2225
<td>A <span class="type">CoglPipeline</span>
2229
<td><p><span class="term"><em class="parameter"><code>layer</code></em> :</span></p></td>
2230
<td>The layer to hook the snippet to</td>
2233
<td><p><span class="term"><em class="parameter"><code>snippet</code></em> :</span></p></td>
2234
<td>A <a class="link" href="cogl-2.0-experimental-Shader-snippets.html#CoglSnippet" title="CoglSnippet"><span class="type">CoglSnippet</span></a>
2239
<p class="since">Since 1.10</p>
2240
<p class="stability">Stability Level: Unstable</p>
1477
2244
<div class="footer">
1479
Generated by GTK-Doc V1.16.1</div>
2246
Generated by GTK-Doc V1.17.1</div>
b'\\ No newline at end of file'