• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5<title>GstGLShader: GStreamer Base Plugins 1.0 Library Reference Manual</title>
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
8<link rel="up" href="gl.html" title="OpenGL Integration Library">
9<link rel="prev" href="gst-plugins-base-libs-GstGLRenderbuffer.html" title="GstGLRenderBuffer">
10<link rel="next" href="gst-plugins-base-libs-GstGLSL.html" title="GstGLSL">
11<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
12<link rel="stylesheet" href="style.css" type="text/css">
13</head>
14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16<td width="100%" align="left" class="shortcuts">
17<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span18                  <a href="#GstGLShader.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span19                  <a href="#GstGLShader.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span20                  <a href="#GstGLShader.properties" class="shortcut">Properties</a></span>
21</td>
22<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23<td><a accesskey="u" href="gl.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24<td><a accesskey="p" href="gst-plugins-base-libs-GstGLRenderbuffer.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25<td><a accesskey="n" href="gst-plugins-base-libs-GstGLSL.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
26</tr></table>
27<div class="refentry">
28<a name="GstGLShader"></a><div class="titlepage"></div>
29<div class="refnamediv"><table width="100%"><tr>
30<td valign="top">
31<h2><span class="refentrytitle"><a name="GstGLShader.top_of_page"></a>GstGLShader</span></h2>
32<p>GstGLShader — object representing an OpenGL shader program</p>
33</td>
34<td class="gallery_image" valign="top" align="right"></td>
35</tr></table></div>
36<div class="refsect1">
37<a name="GstGLShader.functions"></a><h2>Functions</h2>
38<div class="informaltable"><table class="informaltable" width="100%" border="0">
39<colgroup>
40<col width="150px" class="functions_return">
41<col class="functions_name">
42</colgroup>
43<tbody>
44<tr>
45<td class="function_type">
46<a class="link" href="GstGLShader.html" title="GstGLShader"><span class="returnvalue">GstGLShader</span></a> *
47</td>
48<td class="function_name">
49<a class="link" href="GstGLShader.html#gst-gl-shader-new" title="gst_gl_shader_new ()">gst_gl_shader_new</a> <span class="c_punctuation">()</span>
50</td>
51</tr>
52<tr>
53<td class="function_type">
54<a class="link" href="GstGLShader.html" title="GstGLShader"><span class="returnvalue">GstGLShader</span></a> *
55</td>
56<td class="function_name">
57<a class="link" href="GstGLShader.html#gst-gl-shader-new-default" title="gst_gl_shader_new_default ()">gst_gl_shader_new_default</a> <span class="c_punctuation">()</span>
58</td>
59</tr>
60<tr>
61<td class="function_type">
62<a class="link" href="GstGLShader.html" title="GstGLShader"><span class="returnvalue">GstGLShader</span></a> *
63</td>
64<td class="function_name">
65<a class="link" href="GstGLShader.html#gst-gl-shader-new-link-with-stages" title="gst_gl_shader_new_link_with_stages ()">gst_gl_shader_new_link_with_stages</a> <span class="c_punctuation">()</span>
66</td>
67</tr>
68<tr>
69<td class="function_type">
70<a class="link" href="GstGLShader.html" title="GstGLShader"><span class="returnvalue">GstGLShader</span></a> *
71</td>
72<td class="function_name">
73<a class="link" href="GstGLShader.html#gst-gl-shader-new-with-stages" title="gst_gl_shader_new_with_stages ()">gst_gl_shader_new_with_stages</a> <span class="c_punctuation">()</span>
74</td>
75</tr>
76<tr>
77<td class="function_type">
78<span class="returnvalue">void</span>
79</td>
80<td class="function_name">
81<a class="link" href="GstGLShader.html#gst-gl-shader-use" title="gst_gl_shader_use ()">gst_gl_shader_use</a> <span class="c_punctuation">()</span>
82</td>
83</tr>
84<tr>
85<td class="function_type">
86<span class="returnvalue">void</span>
87</td>
88<td class="function_name">
89<a class="link" href="GstGLShader.html#gst-gl-context-clear-shader" title="gst_gl_context_clear_shader ()">gst_gl_context_clear_shader</a> <span class="c_punctuation">()</span>
90</td>
91</tr>
92<tr>
93<td class="function_type">
94<span class="returnvalue">int</span>
95</td>
96<td class="function_name">
97<a class="link" href="GstGLShader.html#gst-gl-shader-get-program-handle" title="gst_gl_shader_get_program_handle ()">gst_gl_shader_get_program_handle</a> <span class="c_punctuation">()</span>
98</td>
99</tr>
100<tr>
101<td class="function_type">
102<span class="returnvalue">void</span>
103</td>
104<td class="function_name">
105<a class="link" href="GstGLShader.html#gst-gl-shader-release" title="gst_gl_shader_release ()">gst_gl_shader_release</a> <span class="c_punctuation">()</span>
106</td>
107</tr>
108<tr>
109<td class="function_type">
110<span class="returnvalue">void</span>
111</td>
112<td class="function_name">
113<a class="link" href="GstGLShader.html#gst-gl-shader-release-unlocked" title="gst_gl_shader_release_unlocked ()">gst_gl_shader_release_unlocked</a> <span class="c_punctuation">()</span>
114</td>
115</tr>
116<tr>
117<td class="function_type">
118<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
119</td>
120<td class="function_name">
121<a class="link" href="GstGLShader.html#gst-gl-shader-attach" title="gst_gl_shader_attach ()">gst_gl_shader_attach</a> <span class="c_punctuation">()</span>
122</td>
123</tr>
124<tr>
125<td class="function_type">
126<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
127</td>
128<td class="function_name">
129<a class="link" href="GstGLShader.html#gst-gl-shader-attach-unlocked" title="gst_gl_shader_attach_unlocked ()">gst_gl_shader_attach_unlocked</a> <span class="c_punctuation">()</span>
130</td>
131</tr>
132<tr>
133<td class="function_type">
134<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
135</td>
136<td class="function_name">
137<a class="link" href="GstGLShader.html#gst-gl-shader-compile-attach-stage" title="gst_gl_shader_compile_attach_stage ()">gst_gl_shader_compile_attach_stage</a> <span class="c_punctuation">()</span>
138</td>
139</tr>
140<tr>
141<td class="function_type">
142<span class="returnvalue">void</span>
143</td>
144<td class="function_name">
145<a class="link" href="GstGLShader.html#gst-gl-shader-detach" title="gst_gl_shader_detach ()">gst_gl_shader_detach</a> <span class="c_punctuation">()</span>
146</td>
147</tr>
148<tr>
149<td class="function_type">
150<span class="returnvalue">void</span>
151</td>
152<td class="function_name">
153<a class="link" href="GstGLShader.html#gst-gl-shader-detach-unlocked" title="gst_gl_shader_detach_unlocked ()">gst_gl_shader_detach_unlocked</a> <span class="c_punctuation">()</span>
154</td>
155</tr>
156<tr>
157<td class="function_type">
158<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
159</td>
160<td class="function_name">
161<a class="link" href="GstGLShader.html#gst-gl-shader-is-linked" title="gst_gl_shader_is_linked ()">gst_gl_shader_is_linked</a> <span class="c_punctuation">()</span>
162</td>
163</tr>
164<tr>
165<td class="function_type">
166<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
167</td>
168<td class="function_name">
169<a class="link" href="GstGLShader.html#gst-gl-shader-link" title="gst_gl_shader_link ()">gst_gl_shader_link</a> <span class="c_punctuation">()</span>
170</td>
171</tr>
172<tr>
173<td class="function_type">
174<span class="returnvalue">void</span>
175</td>
176<td class="function_name">
177<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-1i" title="gst_gl_shader_set_uniform_1i ()">gst_gl_shader_set_uniform_1i</a> <span class="c_punctuation">()</span>
178</td>
179</tr>
180<tr>
181<td class="function_type">
182<span class="returnvalue">void</span>
183</td>
184<td class="function_name">
185<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-1f" title="gst_gl_shader_set_uniform_1f ()">gst_gl_shader_set_uniform_1f</a> <span class="c_punctuation">()</span>
186</td>
187</tr>
188<tr>
189<td class="function_type">
190<span class="returnvalue">void</span>
191</td>
192<td class="function_name">
193<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-1fv" title="gst_gl_shader_set_uniform_1fv ()">gst_gl_shader_set_uniform_1fv</a> <span class="c_punctuation">()</span>
194</td>
195</tr>
196<tr>
197<td class="function_type">
198<span class="returnvalue">void</span>
199</td>
200<td class="function_name">
201<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-1iv" title="gst_gl_shader_set_uniform_1iv ()">gst_gl_shader_set_uniform_1iv</a> <span class="c_punctuation">()</span>
202</td>
203</tr>
204<tr>
205<td class="function_type">
206<span class="returnvalue">void</span>
207</td>
208<td class="function_name">
209<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-2f" title="gst_gl_shader_set_uniform_2f ()">gst_gl_shader_set_uniform_2f</a> <span class="c_punctuation">()</span>
210</td>
211</tr>
212<tr>
213<td class="function_type">
214<span class="returnvalue">void</span>
215</td>
216<td class="function_name">
217<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-2fv" title="gst_gl_shader_set_uniform_2fv ()">gst_gl_shader_set_uniform_2fv</a> <span class="c_punctuation">()</span>
218</td>
219</tr>
220<tr>
221<td class="function_type">
222<span class="returnvalue">void</span>
223</td>
224<td class="function_name">
225<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-2i" title="gst_gl_shader_set_uniform_2i ()">gst_gl_shader_set_uniform_2i</a> <span class="c_punctuation">()</span>
226</td>
227</tr>
228<tr>
229<td class="function_type">
230<span class="returnvalue">void</span>
231</td>
232<td class="function_name">
233<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-2iv" title="gst_gl_shader_set_uniform_2iv ()">gst_gl_shader_set_uniform_2iv</a> <span class="c_punctuation">()</span>
234</td>
235</tr>
236<tr>
237<td class="function_type">
238<span class="returnvalue">void</span>
239</td>
240<td class="function_name">
241<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-3f" title="gst_gl_shader_set_uniform_3f ()">gst_gl_shader_set_uniform_3f</a> <span class="c_punctuation">()</span>
242</td>
243</tr>
244<tr>
245<td class="function_type">
246<span class="returnvalue">void</span>
247</td>
248<td class="function_name">
249<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-3fv" title="gst_gl_shader_set_uniform_3fv ()">gst_gl_shader_set_uniform_3fv</a> <span class="c_punctuation">()</span>
250</td>
251</tr>
252<tr>
253<td class="function_type">
254<span class="returnvalue">void</span>
255</td>
256<td class="function_name">
257<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-3i" title="gst_gl_shader_set_uniform_3i ()">gst_gl_shader_set_uniform_3i</a> <span class="c_punctuation">()</span>
258</td>
259</tr>
260<tr>
261<td class="function_type">
262<span class="returnvalue">void</span>
263</td>
264<td class="function_name">
265<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-3iv" title="gst_gl_shader_set_uniform_3iv ()">gst_gl_shader_set_uniform_3iv</a> <span class="c_punctuation">()</span>
266</td>
267</tr>
268<tr>
269<td class="function_type">
270<span class="returnvalue">void</span>
271</td>
272<td class="function_name">
273<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-4f" title="gst_gl_shader_set_uniform_4f ()">gst_gl_shader_set_uniform_4f</a> <span class="c_punctuation">()</span>
274</td>
275</tr>
276<tr>
277<td class="function_type">
278<span class="returnvalue">void</span>
279</td>
280<td class="function_name">
281<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-4fv" title="gst_gl_shader_set_uniform_4fv ()">gst_gl_shader_set_uniform_4fv</a> <span class="c_punctuation">()</span>
282</td>
283</tr>
284<tr>
285<td class="function_type">
286<span class="returnvalue">void</span>
287</td>
288<td class="function_name">
289<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-4i" title="gst_gl_shader_set_uniform_4i ()">gst_gl_shader_set_uniform_4i</a> <span class="c_punctuation">()</span>
290</td>
291</tr>
292<tr>
293<td class="function_type">
294<span class="returnvalue">void</span>
295</td>
296<td class="function_name">
297<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-4iv" title="gst_gl_shader_set_uniform_4iv ()">gst_gl_shader_set_uniform_4iv</a> <span class="c_punctuation">()</span>
298</td>
299</tr>
300<tr>
301<td class="function_type">
302<span class="returnvalue">void</span>
303</td>
304<td class="function_name">
305<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-matrix-2fv" title="gst_gl_shader_set_uniform_matrix_2fv ()">gst_gl_shader_set_uniform_matrix_2fv</a> <span class="c_punctuation">()</span>
306</td>
307</tr>
308<tr>
309<td class="function_type">
310<span class="returnvalue">void</span>
311</td>
312<td class="function_name">
313<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-matrix-2x3fv" title="gst_gl_shader_set_uniform_matrix_2x3fv ()">gst_gl_shader_set_uniform_matrix_2x3fv</a> <span class="c_punctuation">()</span>
314</td>
315</tr>
316<tr>
317<td class="function_type">
318<span class="returnvalue">void</span>
319</td>
320<td class="function_name">
321<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-matrix-2x4fv" title="gst_gl_shader_set_uniform_matrix_2x4fv ()">gst_gl_shader_set_uniform_matrix_2x4fv</a> <span class="c_punctuation">()</span>
322</td>
323</tr>
324<tr>
325<td class="function_type">
326<span class="returnvalue">void</span>
327</td>
328<td class="function_name">
329<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-matrix-3fv" title="gst_gl_shader_set_uniform_matrix_3fv ()">gst_gl_shader_set_uniform_matrix_3fv</a> <span class="c_punctuation">()</span>
330</td>
331</tr>
332<tr>
333<td class="function_type">
334<span class="returnvalue">void</span>
335</td>
336<td class="function_name">
337<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-matrix-3x2fv" title="gst_gl_shader_set_uniform_matrix_3x2fv ()">gst_gl_shader_set_uniform_matrix_3x2fv</a> <span class="c_punctuation">()</span>
338</td>
339</tr>
340<tr>
341<td class="function_type">
342<span class="returnvalue">void</span>
343</td>
344<td class="function_name">
345<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-matrix-3x4fv" title="gst_gl_shader_set_uniform_matrix_3x4fv ()">gst_gl_shader_set_uniform_matrix_3x4fv</a> <span class="c_punctuation">()</span>
346</td>
347</tr>
348<tr>
349<td class="function_type">
350<span class="returnvalue">void</span>
351</td>
352<td class="function_name">
353<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-matrix-4fv" title="gst_gl_shader_set_uniform_matrix_4fv ()">gst_gl_shader_set_uniform_matrix_4fv</a> <span class="c_punctuation">()</span>
354</td>
355</tr>
356<tr>
357<td class="function_type">
358<span class="returnvalue">void</span>
359</td>
360<td class="function_name">
361<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-matrix-4x2fv" title="gst_gl_shader_set_uniform_matrix_4x2fv ()">gst_gl_shader_set_uniform_matrix_4x2fv</a> <span class="c_punctuation">()</span>
362</td>
363</tr>
364<tr>
365<td class="function_type">
366<span class="returnvalue">void</span>
367</td>
368<td class="function_name">
369<a class="link" href="GstGLShader.html#gst-gl-shader-set-uniform-matrix-4x3fv" title="gst_gl_shader_set_uniform_matrix_4x3fv ()">gst_gl_shader_set_uniform_matrix_4x3fv</a> <span class="c_punctuation">()</span>
370</td>
371</tr>
372<tr>
373<td class="function_type">
374<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
375</td>
376<td class="function_name">
377<a class="link" href="GstGLShader.html#gst-gl-shader-get-attribute-location" title="gst_gl_shader_get_attribute_location ()">gst_gl_shader_get_attribute_location</a> <span class="c_punctuation">()</span>
378</td>
379</tr>
380<tr>
381<td class="function_type">
382<span class="returnvalue">void</span>
383</td>
384<td class="function_name">
385<a class="link" href="GstGLShader.html#gst-gl-shader-bind-attribute-location" title="gst_gl_shader_bind_attribute_location ()">gst_gl_shader_bind_attribute_location</a> <span class="c_punctuation">()</span>
386</td>
387</tr>
388<tr>
389<td class="function_type">
390<span class="returnvalue">void</span>
391</td>
392<td class="function_name">
393<a class="link" href="GstGLShader.html#gst-gl-shader-bind-frag-data-location" title="gst_gl_shader_bind_frag_data_location ()">gst_gl_shader_bind_frag_data_location</a> <span class="c_punctuation">()</span>
394</td>
395</tr>
396<tr>
397<td class="function_type">
398<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
399</td>
400<td class="function_name">
401<a class="link" href="GstGLShader.html#gst-gl-shader-string-fragment-get-default" title="gst_gl_shader_string_fragment_get_default ()">gst_gl_shader_string_fragment_get_default</a> <span class="c_punctuation">()</span>
402</td>
403</tr>
404<tr>
405<td class="function_type">
406<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
407</td>
408<td class="function_name">
409<a class="link" href="GstGLShader.html#gst-gl-shader-string-fragment-external-oes-get-default" title="gst_gl_shader_string_fragment_external_oes_get_default ()">gst_gl_shader_string_fragment_external_oes_get_default</a> <span class="c_punctuation">()</span>
410</td>
411</tr>
412</tbody>
413</table></div>
414</div>
415<div class="refsect1">
416<a name="GstGLShader.properties"></a><h2>Properties</h2>
417<div class="informaltable"><table class="informaltable" border="0">
418<colgroup>
419<col width="150px" class="properties_type">
420<col width="300px" class="properties_name">
421<col width="200px" class="properties_flags">
422</colgroup>
423<tbody><tr>
424<td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
425<td class="property_name"><a class="link" href="GstGLShader.html#GstGLShader--linked" title="The “linked” property">linked</a></td>
426<td class="property_flags">Read</td>
427</tr></tbody>
428</table></div>
429</div>
430<div class="refsect1">
431<a name="GstGLShader.other"></a><h2>Types and Values</h2>
432<div class="informaltable"><table class="informaltable" width="100%" border="0">
433<colgroup>
434<col width="150px" class="name">
435<col class="description">
436</colgroup>
437<tbody><tr>
438<td class="datatype_keyword"> </td>
439<td class="function_name"><a class="link" href="GstGLShader.html#GstGLShader-struct" title="GstGLShader">GstGLShader</a></td>
440</tr></tbody>
441</table></div>
442</div>
443<div class="refsect1">
444<a name="GstGLShader.object-hierarchy"></a><h2>Object Hierarchy</h2>
445<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
446    <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
447        <span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstObject.html#GstObject-struct">GstObject</a>
448            <span class="lineart">╰──</span> GstGLShader
449</pre>
450</div>
451<div class="refsect1">
452<a name="GstGLShader.includes"></a><h2>Includes</h2>
453<pre class="synopsis">#include &lt;gst/gl/gl.h&gt;
454</pre>
455</div>
456<div class="refsect1">
457<a name="GstGLShader.description"></a><h2>Description</h2>
458</div>
459<div class="refsect1">
460<a name="GstGLShader.functions_details"></a><h2>Functions</h2>
461<div class="refsect2">
462<a name="gst-gl-shader-new"></a><h3>gst_gl_shader_new ()</h3>
463<pre class="programlisting"><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="returnvalue">GstGLShader</span></a> *
464gst_gl_shader_new (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>);</pre>
465<p>Note: must be called in the GL thread</p>
466<div class="refsect3">
467<a name="gst-gl-shader-new.parameters"></a><h4>Parameters</h4>
468<div class="informaltable"><table class="informaltable" width="100%" border="0">
469<colgroup>
470<col width="150px" class="parameters_name">
471<col class="parameters_description">
472<col width="200px" class="parameters_annotations">
473</colgroup>
474<tbody><tr>
475<td class="parameter_name"><p>context</p></td>
476<td class="parameter_description"><p>a <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a></p></td>
477<td class="parameter_annotations"> </td>
478</tr></tbody>
479</table></div>
480</div>
481<div class="refsect3">
482<a name="gst-gl-shader-new.returns"></a><h4>Returns</h4>
483<p>a new empty <em class="parameter"><code>shader</code></em>
484. </p>
485<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
486</div>
487</div>
488<hr>
489<div class="refsect2">
490<a name="gst-gl-shader-new-default"></a><h3>gst_gl_shader_new_default ()</h3>
491<pre class="programlisting"><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="returnvalue">GstGLShader</span></a> *
492gst_gl_shader_new_default (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
493                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
494<p>Note: must be called in the GL thread</p>
495<div class="refsect3">
496<a name="gst-gl-shader-new-default.parameters"></a><h4>Parameters</h4>
497<div class="informaltable"><table class="informaltable" width="100%" border="0">
498<colgroup>
499<col width="150px" class="parameters_name">
500<col class="parameters_description">
501<col width="200px" class="parameters_annotations">
502</colgroup>
503<tbody>
504<tr>
505<td class="parameter_name"><p>context</p></td>
506<td class="parameter_description"><p>a <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a></p></td>
507<td class="parameter_annotations"> </td>
508</tr>
509<tr>
510<td class="parameter_name"><p>error</p></td>
511<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> that is filled on failure</p></td>
512<td class="parameter_annotations"> </td>
513</tr>
514</tbody>
515</table></div>
516</div>
517<div class="refsect3">
518<a name="gst-gl-shader-new-default.returns"></a><h4>Returns</h4>
519<p>a default <em class="parameter"><code>shader</code></em>
520or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure. </p>
521<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
522</div>
523<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
524</div>
525<hr>
526<div class="refsect2">
527<a name="gst-gl-shader-new-link-with-stages"></a><h3>gst_gl_shader_new_link_with_stages ()</h3>
528<pre class="programlisting"><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="returnvalue">GstGLShader</span></a> *
529gst_gl_shader_new_link_with_stages (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
530                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
531                                    <em class="parameter"><code>...</code></em>);</pre>
532<p>Each stage will attempt to be compiled and attached to <em class="parameter"><code>shader</code></em>
533.  Then
534the shader will be linked. On error, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned and <em class="parameter"><code>error</code></em>
535 will
536contain the details of the error.</p>
537<p>Note: must be called in the GL thread</p>
538<div class="refsect3">
539<a name="gst-gl-shader-new-link-with-stages.parameters"></a><h4>Parameters</h4>
540<div class="informaltable"><table class="informaltable" width="100%" border="0">
541<colgroup>
542<col width="150px" class="parameters_name">
543<col class="parameters_description">
544<col width="200px" class="parameters_annotations">
545</colgroup>
546<tbody>
547<tr>
548<td class="parameter_name"><p>context</p></td>
549<td class="parameter_description"><p>a <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a></p></td>
550<td class="parameter_annotations"> </td>
551</tr>
552<tr>
553<td class="parameter_name"><p>error</p></td>
554<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
555<td class="parameter_annotations"> </td>
556</tr>
557<tr>
558<td class="parameter_name"><p>...</p></td>
559<td class="parameter_description"><p>a NULL terminated list of <a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a>'s</p></td>
560<td class="parameter_annotations"> </td>
561</tr>
562</tbody>
563</table></div>
564</div>
565<div class="refsect3">
566<a name="gst-gl-shader-new-link-with-stages.returns"></a><h4>Returns</h4>
567<p>a new <em class="parameter"><code>shader</code></em>
568with the specified stages. </p>
569<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
570</div>
571<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
572</div>
573<hr>
574<div class="refsect2">
575<a name="gst-gl-shader-new-with-stages"></a><h3>gst_gl_shader_new_with_stages ()</h3>
576<pre class="programlisting"><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="returnvalue">GstGLShader</span></a> *
577gst_gl_shader_new_with_stages (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
578                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
579                               <em class="parameter"><code>...</code></em>);</pre>
580<p>Each stage will attempt to be compiled and attached to <em class="parameter"><code>shader</code></em>
581.  On error,
582<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> will be returned and <em class="parameter"><code>error</code></em>
583 will contain the details of the error.</p>
584<p>Note: must be called in the GL thread</p>
585<div class="refsect3">
586<a name="gst-gl-shader-new-with-stages.parameters"></a><h4>Parameters</h4>
587<div class="informaltable"><table class="informaltable" width="100%" border="0">
588<colgroup>
589<col width="150px" class="parameters_name">
590<col class="parameters_description">
591<col width="200px" class="parameters_annotations">
592</colgroup>
593<tbody>
594<tr>
595<td class="parameter_name"><p>context</p></td>
596<td class="parameter_description"><p>a <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a></p></td>
597<td class="parameter_annotations"> </td>
598</tr>
599<tr>
600<td class="parameter_name"><p>error</p></td>
601<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
602<td class="parameter_annotations"> </td>
603</tr>
604<tr>
605<td class="parameter_name"><p>...</p></td>
606<td class="parameter_description"><p>a NULL terminated list of <a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a>'s</p></td>
607<td class="parameter_annotations"> </td>
608</tr>
609</tbody>
610</table></div>
611</div>
612<div class="refsect3">
613<a name="gst-gl-shader-new-with-stages.returns"></a><h4>Returns</h4>
614<p>a new <em class="parameter"><code>shader</code></em>
615with the specified stages. </p>
616<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
617</div>
618<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
619</div>
620<hr>
621<div class="refsect2">
622<a name="gst-gl-shader-use"></a><h3>gst_gl_shader_use ()</h3>
623<pre class="programlisting"><span class="returnvalue">void</span>
624gst_gl_shader_use (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>);</pre>
625<p>Mark's <em class="parameter"><code>shader</code></em>
626 as being used for the next GL draw command.</p>
627<p>Note: must be called in the GL thread and <em class="parameter"><code>shader</code></em>
628 must have been linked.</p>
629<div class="refsect3">
630<a name="gst-gl-shader-use.parameters"></a><h4>Parameters</h4>
631<div class="informaltable"><table class="informaltable" width="100%" border="0">
632<colgroup>
633<col width="150px" class="parameters_name">
634<col class="parameters_description">
635<col width="200px" class="parameters_annotations">
636</colgroup>
637<tbody><tr>
638<td class="parameter_name"><p>shader</p></td>
639<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
640<td class="parameter_annotations"> </td>
641</tr></tbody>
642</table></div>
643</div>
644</div>
645<hr>
646<div class="refsect2">
647<a name="gst-gl-context-clear-shader"></a><h3>gst_gl_context_clear_shader ()</h3>
648<pre class="programlisting"><span class="returnvalue">void</span>
649gst_gl_context_clear_shader (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>);</pre>
650<p>Clear's the currently set shader from the GL state machine.</p>
651<p>Note: must be called in the GL thread.</p>
652<div class="refsect3">
653<a name="gst-gl-context-clear-shader.parameters"></a><h4>Parameters</h4>
654<div class="informaltable"><table class="informaltable" width="100%" border="0">
655<colgroup>
656<col width="150px" class="parameters_name">
657<col class="parameters_description">
658<col width="200px" class="parameters_annotations">
659</colgroup>
660<tbody><tr>
661<td class="parameter_name"><p>context</p></td>
662<td class="parameter_description"><p>a <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a></p></td>
663<td class="parameter_annotations"> </td>
664</tr></tbody>
665</table></div>
666</div>
667</div>
668<hr>
669<div class="refsect2">
670<a name="gst-gl-shader-get-program-handle"></a><h3>gst_gl_shader_get_program_handle ()</h3>
671<pre class="programlisting"><span class="returnvalue">int</span>
672gst_gl_shader_get_program_handle (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>);</pre>
673<div class="refsect3">
674<a name="gst-gl-shader-get-program-handle.parameters"></a><h4>Parameters</h4>
675<div class="informaltable"><table class="informaltable" width="100%" border="0">
676<colgroup>
677<col width="150px" class="parameters_name">
678<col class="parameters_description">
679<col width="200px" class="parameters_annotations">
680</colgroup>
681<tbody><tr>
682<td class="parameter_name"><p>shader</p></td>
683<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
684<td class="parameter_annotations"> </td>
685</tr></tbody>
686</table></div>
687</div>
688<div class="refsect3">
689<a name="gst-gl-shader-get-program-handle.returns"></a><h4>Returns</h4>
690<p> the GL program handle for this shader</p>
691</div>
692<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
693</div>
694<hr>
695<div class="refsect2">
696<a name="gst-gl-shader-release"></a><h3>gst_gl_shader_release ()</h3>
697<pre class="programlisting"><span class="returnvalue">void</span>
698gst_gl_shader_release (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>);</pre>
699<p>Releases the shader and stages.</p>
700<p>Note: must be called in the GL thread</p>
701<div class="refsect3">
702<a name="gst-gl-shader-release.parameters"></a><h4>Parameters</h4>
703<div class="informaltable"><table class="informaltable" width="100%" border="0">
704<colgroup>
705<col width="150px" class="parameters_name">
706<col class="parameters_description">
707<col width="200px" class="parameters_annotations">
708</colgroup>
709<tbody><tr>
710<td class="parameter_name"><p>shader</p></td>
711<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
712<td class="parameter_annotations"> </td>
713</tr></tbody>
714</table></div>
715</div>
716<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
717</div>
718<hr>
719<div class="refsect2">
720<a name="gst-gl-shader-release-unlocked"></a><h3>gst_gl_shader_release_unlocked ()</h3>
721<pre class="programlisting"><span class="returnvalue">void</span>
722gst_gl_shader_release_unlocked (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>);</pre>
723<p>Releases the shader and stages.</p>
724<p>Note: must be called in the GL thread</p>
725<div class="refsect3">
726<a name="gst-gl-shader-release-unlocked.parameters"></a><h4>Parameters</h4>
727<div class="informaltable"><table class="informaltable" width="100%" border="0">
728<colgroup>
729<col width="150px" class="parameters_name">
730<col class="parameters_description">
731<col width="200px" class="parameters_annotations">
732</colgroup>
733<tbody><tr>
734<td class="parameter_name"><p>shader</p></td>
735<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
736<td class="parameter_annotations"> </td>
737</tr></tbody>
738</table></div>
739</div>
740<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
741</div>
742<hr>
743<div class="refsect2">
744<a name="gst-gl-shader-attach"></a><h3>gst_gl_shader_attach ()</h3>
745<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
746gst_gl_shader_attach (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
747                      <em class="parameter"><code><a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a> *stage</code></em>);</pre>
748<p>Attaches <em class="parameter"><code>stage</code></em>
749 to <em class="parameter"><code>shader</code></em>
750.  <em class="parameter"><code>stage</code></em>
751 must have been successfully compiled
752with <a class="link" href="GstGLSLStage.html#gst-glsl-stage-compile" title="gst_glsl_stage_compile ()"><code class="function">gst_glsl_stage_compile()</code></a>.</p>
753<p>Note: must be called in the GL thread</p>
754<div class="refsect3">
755<a name="gst-gl-shader-attach.parameters"></a><h4>Parameters</h4>
756<div class="informaltable"><table class="informaltable" width="100%" border="0">
757<colgroup>
758<col width="150px" class="parameters_name">
759<col class="parameters_description">
760<col width="200px" class="parameters_annotations">
761</colgroup>
762<tbody>
763<tr>
764<td class="parameter_name"><p>shader</p></td>
765<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
766<td class="parameter_annotations"> </td>
767</tr>
768<tr>
769<td class="parameter_name"><p>stage</p></td>
770<td class="parameter_description"><p>a <a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a> to attach. </p></td>
771<td class="parameter_annotations"><span class="annotation">[<acronym title="Alias for transfer none, used for objects with floating refs."><span class="acronym">transfer floating</span></acronym>]</span></td>
772</tr>
773</tbody>
774</table></div>
775</div>
776<div class="refsect3">
777<a name="gst-gl-shader-attach.returns"></a><h4>Returns</h4>
778<p> whether <em class="parameter"><code>stage</code></em>
779could be attached to <em class="parameter"><code>shader</code></em>
780</p>
781</div>
782<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
783</div>
784<hr>
785<div class="refsect2">
786<a name="gst-gl-shader-attach-unlocked"></a><h3>gst_gl_shader_attach_unlocked ()</h3>
787<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
788gst_gl_shader_attach_unlocked (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
789                               <em class="parameter"><code><a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a> *stage</code></em>);</pre>
790<p>Attaches <em class="parameter"><code>stage</code></em>
791 to <em class="parameter"><code>shader</code></em>
792.  <em class="parameter"><code>stage</code></em>
793 must have been successfully compiled
794with <a class="link" href="GstGLSLStage.html#gst-glsl-stage-compile" title="gst_glsl_stage_compile ()"><code class="function">gst_glsl_stage_compile()</code></a>.</p>
795<p>Note: must be called in the GL thread</p>
796<div class="refsect3">
797<a name="gst-gl-shader-attach-unlocked.parameters"></a><h4>Parameters</h4>
798<div class="informaltable"><table class="informaltable" width="100%" border="0">
799<colgroup>
800<col width="150px" class="parameters_name">
801<col class="parameters_description">
802<col width="200px" class="parameters_annotations">
803</colgroup>
804<tbody>
805<tr>
806<td class="parameter_name"><p>shader</p></td>
807<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
808<td class="parameter_annotations"> </td>
809</tr>
810<tr>
811<td class="parameter_name"><p>stage</p></td>
812<td class="parameter_description"><p>a <a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a> to attach. </p></td>
813<td class="parameter_annotations"><span class="annotation">[<acronym title="Alias for transfer none, used for objects with floating refs."><span class="acronym">transfer floating</span></acronym>]</span></td>
814</tr>
815</tbody>
816</table></div>
817</div>
818<div class="refsect3">
819<a name="gst-gl-shader-attach-unlocked.returns"></a><h4>Returns</h4>
820<p> whether <em class="parameter"><code>stage</code></em>
821could be attached to <em class="parameter"><code>shader</code></em>
822</p>
823</div>
824<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
825</div>
826<hr>
827<div class="refsect2">
828<a name="gst-gl-shader-compile-attach-stage"></a><h3>gst_gl_shader_compile_attach_stage ()</h3>
829<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
830gst_gl_shader_compile_attach_stage (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
831                                    <em class="parameter"><code><a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a> *stage</code></em>,
832                                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
833<p>Compiles <em class="parameter"><code>stage</code></em>
834 and attaches it to <em class="parameter"><code>shader</code></em>
835.</p>
836<p>Note: must be called in the GL thread</p>
837<div class="refsect3">
838<a name="gst-gl-shader-compile-attach-stage.parameters"></a><h4>Parameters</h4>
839<div class="informaltable"><table class="informaltable" width="100%" border="0">
840<colgroup>
841<col width="150px" class="parameters_name">
842<col class="parameters_description">
843<col width="200px" class="parameters_annotations">
844</colgroup>
845<tbody>
846<tr>
847<td class="parameter_name"><p>shader</p></td>
848<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
849<td class="parameter_annotations"> </td>
850</tr>
851<tr>
852<td class="parameter_name"><p>stage</p></td>
853<td class="parameter_description"><p>a <a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a> to attach</p></td>
854<td class="parameter_annotations"> </td>
855</tr>
856<tr>
857<td class="parameter_name"><p>error</p></td>
858<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
859<td class="parameter_annotations"> </td>
860</tr>
861</tbody>
862</table></div>
863</div>
864<div class="refsect3">
865<a name="gst-gl-shader-compile-attach-stage.returns"></a><h4>Returns</h4>
866<p> whether <em class="parameter"><code>stage</code></em>
867could be compiled and attached to <em class="parameter"><code>shader</code></em>
868</p>
869</div>
870<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
871</div>
872<hr>
873<div class="refsect2">
874<a name="gst-gl-shader-detach"></a><h3>gst_gl_shader_detach ()</h3>
875<pre class="programlisting"><span class="returnvalue">void</span>
876gst_gl_shader_detach (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
877                      <em class="parameter"><code><a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a> *stage</code></em>);</pre>
878<p>Detaches <em class="parameter"><code>stage</code></em>
879 from <em class="parameter"><code>shader</code></em>
880.  <em class="parameter"><code>stage</code></em>
881 must have been successfully attached
882to <em class="parameter"><code>shader</code></em>
883 with <a class="link" href="GstGLShader.html#gst-gl-shader-attach" title="gst_gl_shader_attach ()"><code class="function">gst_gl_shader_attach()</code></a> or <a class="link" href="GstGLShader.html#gst-gl-shader-attach-unlocked" title="gst_gl_shader_attach_unlocked ()"><code class="function">gst_gl_shader_attach_unlocked()</code></a>.</p>
884<p>Note: must be called in the GL thread</p>
885<div class="refsect3">
886<a name="gst-gl-shader-detach.parameters"></a><h4>Parameters</h4>
887<div class="informaltable"><table class="informaltable" width="100%" border="0">
888<colgroup>
889<col width="150px" class="parameters_name">
890<col class="parameters_description">
891<col width="200px" class="parameters_annotations">
892</colgroup>
893<tbody>
894<tr>
895<td class="parameter_name"><p>shader</p></td>
896<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
897<td class="parameter_annotations"> </td>
898</tr>
899<tr>
900<td class="parameter_name"><p>stage</p></td>
901<td class="parameter_description"><p>a <a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a> to attach</p></td>
902<td class="parameter_annotations"> </td>
903</tr>
904</tbody>
905</table></div>
906</div>
907<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
908</div>
909<hr>
910<div class="refsect2">
911<a name="gst-gl-shader-detach-unlocked"></a><h3>gst_gl_shader_detach_unlocked ()</h3>
912<pre class="programlisting"><span class="returnvalue">void</span>
913gst_gl_shader_detach_unlocked (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
914                               <em class="parameter"><code><a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a> *stage</code></em>);</pre>
915<p>Detaches <em class="parameter"><code>stage</code></em>
916 from <em class="parameter"><code>shader</code></em>
917.  <em class="parameter"><code>stage</code></em>
918 must have been successfully attached
919to <em class="parameter"><code>shader</code></em>
920 with <a class="link" href="GstGLShader.html#gst-gl-shader-attach" title="gst_gl_shader_attach ()"><code class="function">gst_gl_shader_attach()</code></a> or <a class="link" href="GstGLShader.html#gst-gl-shader-attach-unlocked" title="gst_gl_shader_attach_unlocked ()"><code class="function">gst_gl_shader_attach_unlocked()</code></a>.</p>
921<p>Note: must be called in the GL thread</p>
922<div class="refsect3">
923<a name="gst-gl-shader-detach-unlocked.parameters"></a><h4>Parameters</h4>
924<div class="informaltable"><table class="informaltable" width="100%" border="0">
925<colgroup>
926<col width="150px" class="parameters_name">
927<col class="parameters_description">
928<col width="200px" class="parameters_annotations">
929</colgroup>
930<tbody>
931<tr>
932<td class="parameter_name"><p>shader</p></td>
933<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
934<td class="parameter_annotations"> </td>
935</tr>
936<tr>
937<td class="parameter_name"><p>stage</p></td>
938<td class="parameter_description"><p>a <a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a> to attach</p></td>
939<td class="parameter_annotations"> </td>
940</tr>
941</tbody>
942</table></div>
943</div>
944<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
945</div>
946<hr>
947<div class="refsect2">
948<a name="gst-gl-shader-is-linked"></a><h3>gst_gl_shader_is_linked ()</h3>
949<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
950gst_gl_shader_is_linked (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>);</pre>
951<p>Note: must be called in the GL thread</p>
952<div class="refsect3">
953<a name="gst-gl-shader-is-linked.parameters"></a><h4>Parameters</h4>
954<div class="informaltable"><table class="informaltable" width="100%" border="0">
955<colgroup>
956<col width="150px" class="parameters_name">
957<col class="parameters_description">
958<col width="200px" class="parameters_annotations">
959</colgroup>
960<tbody><tr>
961<td class="parameter_name"><p>shader</p></td>
962<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
963<td class="parameter_annotations"> </td>
964</tr></tbody>
965</table></div>
966</div>
967<div class="refsect3">
968<a name="gst-gl-shader-is-linked.returns"></a><h4>Returns</h4>
969<p> whether <em class="parameter"><code>shader</code></em>
970has been successfully linked</p>
971</div>
972<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
973</div>
974<hr>
975<div class="refsect2">
976<a name="gst-gl-shader-link"></a><h3>gst_gl_shader_link ()</h3>
977<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
978gst_gl_shader_link (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
979                    <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
980<p>Links the current list of <a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a>'s in <em class="parameter"><code>shader</code></em>
981.</p>
982<p>Note: must be called in the GL thread</p>
983<div class="refsect3">
984<a name="gst-gl-shader-link.parameters"></a><h4>Parameters</h4>
985<div class="informaltable"><table class="informaltable" width="100%" border="0">
986<colgroup>
987<col width="150px" class="parameters_name">
988<col class="parameters_description">
989<col width="200px" class="parameters_annotations">
990</colgroup>
991<tbody>
992<tr>
993<td class="parameter_name"><p>shader</p></td>
994<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
995<td class="parameter_annotations"> </td>
996</tr>
997<tr>
998<td class="parameter_name"><p>error</p></td>
999<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a></p></td>
1000<td class="parameter_annotations"> </td>
1001</tr>
1002</tbody>
1003</table></div>
1004</div>
1005<div class="refsect3">
1006<a name="gst-gl-shader-link.returns"></a><h4>Returns</h4>
1007<p> whether <em class="parameter"><code>shader</code></em>
1008could be linked together.</p>
1009</div>
1010<p class="since">Since: <a class="link" href="ix08.html#api-index-1.8">1.8</a></p>
1011</div>
1012<hr>
1013<div class="refsect2">
1014<a name="gst-gl-shader-set-uniform-1i"></a><h3>gst_gl_shader_set_uniform_1i ()</h3>
1015<pre class="programlisting"><span class="returnvalue">void</span>
1016gst_gl_shader_set_uniform_1i (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1017                              <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1018                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>);</pre>
1019<p>Perform <code class="function">glUniform1i()</code> for <em class="parameter"><code>name</code></em>
1020 on <em class="parameter"><code>shader</code></em>
1021</p>
1022<div class="refsect3">
1023<a name="gst-gl-shader-set-uniform-1i.parameters"></a><h4>Parameters</h4>
1024<div class="informaltable"><table class="informaltable" width="100%" border="0">
1025<colgroup>
1026<col width="150px" class="parameters_name">
1027<col class="parameters_description">
1028<col width="200px" class="parameters_annotations">
1029</colgroup>
1030<tbody>
1031<tr>
1032<td class="parameter_name"><p>shader</p></td>
1033<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1034<td class="parameter_annotations"> </td>
1035</tr>
1036<tr>
1037<td class="parameter_name"><p>name</p></td>
1038<td class="parameter_description"><p>name of the uniform</p></td>
1039<td class="parameter_annotations"> </td>
1040</tr>
1041<tr>
1042<td class="parameter_name"><p>value</p></td>
1043<td class="parameter_description"><p>value to set</p></td>
1044<td class="parameter_annotations"> </td>
1045</tr>
1046</tbody>
1047</table></div>
1048</div>
1049</div>
1050<hr>
1051<div class="refsect2">
1052<a name="gst-gl-shader-set-uniform-1f"></a><h3>gst_gl_shader_set_uniform_1f ()</h3>
1053<pre class="programlisting"><span class="returnvalue">void</span>
1054gst_gl_shader_set_uniform_1f (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1055                              <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1056                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> value</code></em>);</pre>
1057<p>Perform <code class="function">glUniform1f()</code> for <em class="parameter"><code>name</code></em>
1058 on <em class="parameter"><code>shader</code></em>
1059</p>
1060<div class="refsect3">
1061<a name="gst-gl-shader-set-uniform-1f.parameters"></a><h4>Parameters</h4>
1062<div class="informaltable"><table class="informaltable" width="100%" border="0">
1063<colgroup>
1064<col width="150px" class="parameters_name">
1065<col class="parameters_description">
1066<col width="200px" class="parameters_annotations">
1067</colgroup>
1068<tbody>
1069<tr>
1070<td class="parameter_name"><p>shader</p></td>
1071<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1072<td class="parameter_annotations"> </td>
1073</tr>
1074<tr>
1075<td class="parameter_name"><p>name</p></td>
1076<td class="parameter_description"><p>name of the uniform</p></td>
1077<td class="parameter_annotations"> </td>
1078</tr>
1079<tr>
1080<td class="parameter_name"><p>value</p></td>
1081<td class="parameter_description"><p>value to set</p></td>
1082<td class="parameter_annotations"> </td>
1083</tr>
1084</tbody>
1085</table></div>
1086</div>
1087</div>
1088<hr>
1089<div class="refsect2">
1090<a name="gst-gl-shader-set-uniform-1fv"></a><h3>gst_gl_shader_set_uniform_1fv ()</h3>
1091<pre class="programlisting"><span class="returnvalue">void</span>
1092gst_gl_shader_set_uniform_1fv (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1093                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1094                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> count</code></em>,
1095                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
1096<p>Perform <code class="function">glUniform1fv()</code> for <em class="parameter"><code>name</code></em>
1097 on <em class="parameter"><code>shader</code></em>
1098</p>
1099<div class="refsect3">
1100<a name="gst-gl-shader-set-uniform-1fv.parameters"></a><h4>Parameters</h4>
1101<div class="informaltable"><table class="informaltable" width="100%" border="0">
1102<colgroup>
1103<col width="150px" class="parameters_name">
1104<col class="parameters_description">
1105<col width="200px" class="parameters_annotations">
1106</colgroup>
1107<tbody>
1108<tr>
1109<td class="parameter_name"><p>shader</p></td>
1110<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1111<td class="parameter_annotations"> </td>
1112</tr>
1113<tr>
1114<td class="parameter_name"><p>name</p></td>
1115<td class="parameter_description"><p>name of the uniform</p></td>
1116<td class="parameter_annotations"> </td>
1117</tr>
1118<tr>
1119<td class="parameter_name"><p>count</p></td>
1120<td class="parameter_description"><p>number of values to set</p></td>
1121<td class="parameter_annotations"> </td>
1122</tr>
1123<tr>
1124<td class="parameter_name"><p>value</p></td>
1125<td class="parameter_description"><p>values to set. </p></td>
1126<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count]</span></td>
1127</tr>
1128</tbody>
1129</table></div>
1130</div>
1131</div>
1132<hr>
1133<div class="refsect2">
1134<a name="gst-gl-shader-set-uniform-1iv"></a><h3>gst_gl_shader_set_uniform_1iv ()</h3>
1135<pre class="programlisting"><span class="returnvalue">void</span>
1136gst_gl_shader_set_uniform_1iv (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1137                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1138                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> count</code></em>,
1139                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value</code></em>);</pre>
1140<p>Perform <code class="function">glUniform1iv()</code> for <em class="parameter"><code>name</code></em>
1141 on <em class="parameter"><code>shader</code></em>
1142</p>
1143<div class="refsect3">
1144<a name="gst-gl-shader-set-uniform-1iv.parameters"></a><h4>Parameters</h4>
1145<div class="informaltable"><table class="informaltable" width="100%" border="0">
1146<colgroup>
1147<col width="150px" class="parameters_name">
1148<col class="parameters_description">
1149<col width="200px" class="parameters_annotations">
1150</colgroup>
1151<tbody>
1152<tr>
1153<td class="parameter_name"><p>shader</p></td>
1154<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1155<td class="parameter_annotations"> </td>
1156</tr>
1157<tr>
1158<td class="parameter_name"><p>name</p></td>
1159<td class="parameter_description"><p>name of the uniform</p></td>
1160<td class="parameter_annotations"> </td>
1161</tr>
1162<tr>
1163<td class="parameter_name"><p>count</p></td>
1164<td class="parameter_description"><p>number of values to set</p></td>
1165<td class="parameter_annotations"> </td>
1166</tr>
1167<tr>
1168<td class="parameter_name"><p>value</p></td>
1169<td class="parameter_description"><p>values to set. </p></td>
1170<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count]</span></td>
1171</tr>
1172</tbody>
1173</table></div>
1174</div>
1175</div>
1176<hr>
1177<div class="refsect2">
1178<a name="gst-gl-shader-set-uniform-2f"></a><h3>gst_gl_shader_set_uniform_2f ()</h3>
1179<pre class="programlisting"><span class="returnvalue">void</span>
1180gst_gl_shader_set_uniform_2f (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1181                              <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1182                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> v0</code></em>,
1183                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> v1</code></em>);</pre>
1184<p>Perform <code class="function">glUniform2f()</code> for <em class="parameter"><code>name</code></em>
1185 on <em class="parameter"><code>shader</code></em>
1186</p>
1187<div class="refsect3">
1188<a name="gst-gl-shader-set-uniform-2f.parameters"></a><h4>Parameters</h4>
1189<div class="informaltable"><table class="informaltable" width="100%" border="0">
1190<colgroup>
1191<col width="150px" class="parameters_name">
1192<col class="parameters_description">
1193<col width="200px" class="parameters_annotations">
1194</colgroup>
1195<tbody>
1196<tr>
1197<td class="parameter_name"><p>shader</p></td>
1198<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1199<td class="parameter_annotations"> </td>
1200</tr>
1201<tr>
1202<td class="parameter_name"><p>name</p></td>
1203<td class="parameter_description"><p>name of the uniform</p></td>
1204<td class="parameter_annotations"> </td>
1205</tr>
1206<tr>
1207<td class="parameter_name"><p>v0</p></td>
1208<td class="parameter_description"><p>first value to set</p></td>
1209<td class="parameter_annotations"> </td>
1210</tr>
1211<tr>
1212<td class="parameter_name"><p>v1</p></td>
1213<td class="parameter_description"><p>second value to set</p></td>
1214<td class="parameter_annotations"> </td>
1215</tr>
1216</tbody>
1217</table></div>
1218</div>
1219</div>
1220<hr>
1221<div class="refsect2">
1222<a name="gst-gl-shader-set-uniform-2fv"></a><h3>gst_gl_shader_set_uniform_2fv ()</h3>
1223<pre class="programlisting"><span class="returnvalue">void</span>
1224gst_gl_shader_set_uniform_2fv (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1225                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1226                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> count</code></em>,
1227                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
1228<p>Perform <code class="function">glUniform2fv()</code> for <em class="parameter"><code>name</code></em>
1229 on <em class="parameter"><code>shader</code></em>
1230</p>
1231<div class="refsect3">
1232<a name="gst-gl-shader-set-uniform-2fv.parameters"></a><h4>Parameters</h4>
1233<div class="informaltable"><table class="informaltable" width="100%" border="0">
1234<colgroup>
1235<col width="150px" class="parameters_name">
1236<col class="parameters_description">
1237<col width="200px" class="parameters_annotations">
1238</colgroup>
1239<tbody>
1240<tr>
1241<td class="parameter_name"><p>shader</p></td>
1242<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1243<td class="parameter_annotations"> </td>
1244</tr>
1245<tr>
1246<td class="parameter_name"><p>name</p></td>
1247<td class="parameter_description"><p>name of the uniform</p></td>
1248<td class="parameter_annotations"> </td>
1249</tr>
1250<tr>
1251<td class="parameter_name"><p>count</p></td>
1252<td class="parameter_description"><p>number of values to set</p></td>
1253<td class="parameter_annotations"> </td>
1254</tr>
1255<tr>
1256<td class="parameter_name"><p>value</p></td>
1257<td class="parameter_description"><p>values to set. </p></td>
1258<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count]</span></td>
1259</tr>
1260</tbody>
1261</table></div>
1262</div>
1263</div>
1264<hr>
1265<div class="refsect2">
1266<a name="gst-gl-shader-set-uniform-2i"></a><h3>gst_gl_shader_set_uniform_2i ()</h3>
1267<pre class="programlisting"><span class="returnvalue">void</span>
1268gst_gl_shader_set_uniform_2i (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1269                              <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1270                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v0</code></em>,
1271                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v1</code></em>);</pre>
1272<p>Perform <code class="function">glUniform2i()</code> for <em class="parameter"><code>name</code></em>
1273 on <em class="parameter"><code>shader</code></em>
1274</p>
1275<div class="refsect3">
1276<a name="gst-gl-shader-set-uniform-2i.parameters"></a><h4>Parameters</h4>
1277<div class="informaltable"><table class="informaltable" width="100%" border="0">
1278<colgroup>
1279<col width="150px" class="parameters_name">
1280<col class="parameters_description">
1281<col width="200px" class="parameters_annotations">
1282</colgroup>
1283<tbody>
1284<tr>
1285<td class="parameter_name"><p>shader</p></td>
1286<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1287<td class="parameter_annotations"> </td>
1288</tr>
1289<tr>
1290<td class="parameter_name"><p>name</p></td>
1291<td class="parameter_description"><p>name of the uniform</p></td>
1292<td class="parameter_annotations"> </td>
1293</tr>
1294<tr>
1295<td class="parameter_name"><p>v0</p></td>
1296<td class="parameter_description"><p>first value to set</p></td>
1297<td class="parameter_annotations"> </td>
1298</tr>
1299<tr>
1300<td class="parameter_name"><p>v1</p></td>
1301<td class="parameter_description"><p>second value to set</p></td>
1302<td class="parameter_annotations"> </td>
1303</tr>
1304</tbody>
1305</table></div>
1306</div>
1307</div>
1308<hr>
1309<div class="refsect2">
1310<a name="gst-gl-shader-set-uniform-2iv"></a><h3>gst_gl_shader_set_uniform_2iv ()</h3>
1311<pre class="programlisting"><span class="returnvalue">void</span>
1312gst_gl_shader_set_uniform_2iv (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1313                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1314                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> count</code></em>,
1315                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value</code></em>);</pre>
1316<p>Perform <code class="function">glUniform2iv()</code> for <em class="parameter"><code>name</code></em>
1317 on <em class="parameter"><code>shader</code></em>
1318</p>
1319<div class="refsect3">
1320<a name="gst-gl-shader-set-uniform-2iv.parameters"></a><h4>Parameters</h4>
1321<div class="informaltable"><table class="informaltable" width="100%" border="0">
1322<colgroup>
1323<col width="150px" class="parameters_name">
1324<col class="parameters_description">
1325<col width="200px" class="parameters_annotations">
1326</colgroup>
1327<tbody>
1328<tr>
1329<td class="parameter_name"><p>shader</p></td>
1330<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1331<td class="parameter_annotations"> </td>
1332</tr>
1333<tr>
1334<td class="parameter_name"><p>name</p></td>
1335<td class="parameter_description"><p>name of the uniform</p></td>
1336<td class="parameter_annotations"> </td>
1337</tr>
1338<tr>
1339<td class="parameter_name"><p>count</p></td>
1340<td class="parameter_description"><p>number of values to set</p></td>
1341<td class="parameter_annotations"> </td>
1342</tr>
1343<tr>
1344<td class="parameter_name"><p>value</p></td>
1345<td class="parameter_description"><p>values to set. </p></td>
1346<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count]</span></td>
1347</tr>
1348</tbody>
1349</table></div>
1350</div>
1351</div>
1352<hr>
1353<div class="refsect2">
1354<a name="gst-gl-shader-set-uniform-3f"></a><h3>gst_gl_shader_set_uniform_3f ()</h3>
1355<pre class="programlisting"><span class="returnvalue">void</span>
1356gst_gl_shader_set_uniform_3f (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1357                              <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1358                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> v0</code></em>,
1359                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> v1</code></em>,
1360                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> v2</code></em>);</pre>
1361<p>Perform <code class="function">glUniform3f()</code> for <em class="parameter"><code>name</code></em>
1362 on <em class="parameter"><code>shader</code></em>
1363</p>
1364<div class="refsect3">
1365<a name="gst-gl-shader-set-uniform-3f.parameters"></a><h4>Parameters</h4>
1366<div class="informaltable"><table class="informaltable" width="100%" border="0">
1367<colgroup>
1368<col width="150px" class="parameters_name">
1369<col class="parameters_description">
1370<col width="200px" class="parameters_annotations">
1371</colgroup>
1372<tbody>
1373<tr>
1374<td class="parameter_name"><p>shader</p></td>
1375<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1376<td class="parameter_annotations"> </td>
1377</tr>
1378<tr>
1379<td class="parameter_name"><p>name</p></td>
1380<td class="parameter_description"><p>name of the uniform</p></td>
1381<td class="parameter_annotations"> </td>
1382</tr>
1383<tr>
1384<td class="parameter_name"><p>v0</p></td>
1385<td class="parameter_description"><p>first value to set</p></td>
1386<td class="parameter_annotations"> </td>
1387</tr>
1388<tr>
1389<td class="parameter_name"><p>v1</p></td>
1390<td class="parameter_description"><p>second value to set</p></td>
1391<td class="parameter_annotations"> </td>
1392</tr>
1393<tr>
1394<td class="parameter_name"><p>v2</p></td>
1395<td class="parameter_description"><p>third value to set</p></td>
1396<td class="parameter_annotations"> </td>
1397</tr>
1398</tbody>
1399</table></div>
1400</div>
1401</div>
1402<hr>
1403<div class="refsect2">
1404<a name="gst-gl-shader-set-uniform-3fv"></a><h3>gst_gl_shader_set_uniform_3fv ()</h3>
1405<pre class="programlisting"><span class="returnvalue">void</span>
1406gst_gl_shader_set_uniform_3fv (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1407                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1408                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> count</code></em>,
1409                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
1410<p>Perform <code class="function">glUniform3fv()</code> for <em class="parameter"><code>name</code></em>
1411 on <em class="parameter"><code>shader</code></em>
1412</p>
1413<div class="refsect3">
1414<a name="gst-gl-shader-set-uniform-3fv.parameters"></a><h4>Parameters</h4>
1415<div class="informaltable"><table class="informaltable" width="100%" border="0">
1416<colgroup>
1417<col width="150px" class="parameters_name">
1418<col class="parameters_description">
1419<col width="200px" class="parameters_annotations">
1420</colgroup>
1421<tbody>
1422<tr>
1423<td class="parameter_name"><p>shader</p></td>
1424<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1425<td class="parameter_annotations"> </td>
1426</tr>
1427<tr>
1428<td class="parameter_name"><p>name</p></td>
1429<td class="parameter_description"><p>name of the uniform</p></td>
1430<td class="parameter_annotations"> </td>
1431</tr>
1432<tr>
1433<td class="parameter_name"><p>count</p></td>
1434<td class="parameter_description"><p>number of values to set</p></td>
1435<td class="parameter_annotations"> </td>
1436</tr>
1437<tr>
1438<td class="parameter_name"><p>value</p></td>
1439<td class="parameter_description"><p>values to set. </p></td>
1440<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count]</span></td>
1441</tr>
1442</tbody>
1443</table></div>
1444</div>
1445</div>
1446<hr>
1447<div class="refsect2">
1448<a name="gst-gl-shader-set-uniform-3i"></a><h3>gst_gl_shader_set_uniform_3i ()</h3>
1449<pre class="programlisting"><span class="returnvalue">void</span>
1450gst_gl_shader_set_uniform_3i (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1451                              <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1452                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v0</code></em>,
1453                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v1</code></em>,
1454                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v2</code></em>);</pre>
1455<p>Perform <code class="function">glUniform3i()</code> for <em class="parameter"><code>name</code></em>
1456 on <em class="parameter"><code>shader</code></em>
1457</p>
1458<div class="refsect3">
1459<a name="gst-gl-shader-set-uniform-3i.parameters"></a><h4>Parameters</h4>
1460<div class="informaltable"><table class="informaltable" width="100%" border="0">
1461<colgroup>
1462<col width="150px" class="parameters_name">
1463<col class="parameters_description">
1464<col width="200px" class="parameters_annotations">
1465</colgroup>
1466<tbody>
1467<tr>
1468<td class="parameter_name"><p>shader</p></td>
1469<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1470<td class="parameter_annotations"> </td>
1471</tr>
1472<tr>
1473<td class="parameter_name"><p>name</p></td>
1474<td class="parameter_description"><p>name of the uniform</p></td>
1475<td class="parameter_annotations"> </td>
1476</tr>
1477<tr>
1478<td class="parameter_name"><p>v0</p></td>
1479<td class="parameter_description"><p>first value to set</p></td>
1480<td class="parameter_annotations"> </td>
1481</tr>
1482<tr>
1483<td class="parameter_name"><p>v1</p></td>
1484<td class="parameter_description"><p>second value to set</p></td>
1485<td class="parameter_annotations"> </td>
1486</tr>
1487<tr>
1488<td class="parameter_name"><p>v2</p></td>
1489<td class="parameter_description"><p>third value to set</p></td>
1490<td class="parameter_annotations"> </td>
1491</tr>
1492</tbody>
1493</table></div>
1494</div>
1495</div>
1496<hr>
1497<div class="refsect2">
1498<a name="gst-gl-shader-set-uniform-3iv"></a><h3>gst_gl_shader_set_uniform_3iv ()</h3>
1499<pre class="programlisting"><span class="returnvalue">void</span>
1500gst_gl_shader_set_uniform_3iv (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1501                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1502                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> count</code></em>,
1503                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value</code></em>);</pre>
1504<p>Perform <code class="function">glUniform3iv()</code> for <em class="parameter"><code>name</code></em>
1505 on <em class="parameter"><code>shader</code></em>
1506</p>
1507<div class="refsect3">
1508<a name="gst-gl-shader-set-uniform-3iv.parameters"></a><h4>Parameters</h4>
1509<div class="informaltable"><table class="informaltable" width="100%" border="0">
1510<colgroup>
1511<col width="150px" class="parameters_name">
1512<col class="parameters_description">
1513<col width="200px" class="parameters_annotations">
1514</colgroup>
1515<tbody>
1516<tr>
1517<td class="parameter_name"><p>shader</p></td>
1518<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1519<td class="parameter_annotations"> </td>
1520</tr>
1521<tr>
1522<td class="parameter_name"><p>name</p></td>
1523<td class="parameter_description"><p>name of the uniform</p></td>
1524<td class="parameter_annotations"> </td>
1525</tr>
1526<tr>
1527<td class="parameter_name"><p>count</p></td>
1528<td class="parameter_description"><p>number of values to set</p></td>
1529<td class="parameter_annotations"> </td>
1530</tr>
1531<tr>
1532<td class="parameter_name"><p>value</p></td>
1533<td class="parameter_description"><p>values to set. </p></td>
1534<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count]</span></td>
1535</tr>
1536</tbody>
1537</table></div>
1538</div>
1539</div>
1540<hr>
1541<div class="refsect2">
1542<a name="gst-gl-shader-set-uniform-4f"></a><h3>gst_gl_shader_set_uniform_4f ()</h3>
1543<pre class="programlisting"><span class="returnvalue">void</span>
1544gst_gl_shader_set_uniform_4f (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1545                              <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1546                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> v0</code></em>,
1547                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> v1</code></em>,
1548                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> v2</code></em>,
1549                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> v3</code></em>);</pre>
1550<p>Perform <code class="function">glUniform4f()</code> for <em class="parameter"><code>name</code></em>
1551 on <em class="parameter"><code>shader</code></em>
1552</p>
1553<div class="refsect3">
1554<a name="gst-gl-shader-set-uniform-4f.parameters"></a><h4>Parameters</h4>
1555<div class="informaltable"><table class="informaltable" width="100%" border="0">
1556<colgroup>
1557<col width="150px" class="parameters_name">
1558<col class="parameters_description">
1559<col width="200px" class="parameters_annotations">
1560</colgroup>
1561<tbody>
1562<tr>
1563<td class="parameter_name"><p>shader</p></td>
1564<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1565<td class="parameter_annotations"> </td>
1566</tr>
1567<tr>
1568<td class="parameter_name"><p>name</p></td>
1569<td class="parameter_description"><p>name of the uniform</p></td>
1570<td class="parameter_annotations"> </td>
1571</tr>
1572<tr>
1573<td class="parameter_name"><p>v0</p></td>
1574<td class="parameter_description"><p>first value to set</p></td>
1575<td class="parameter_annotations"> </td>
1576</tr>
1577<tr>
1578<td class="parameter_name"><p>v1</p></td>
1579<td class="parameter_description"><p>second value to set</p></td>
1580<td class="parameter_annotations"> </td>
1581</tr>
1582<tr>
1583<td class="parameter_name"><p>v2</p></td>
1584<td class="parameter_description"><p>third value to set</p></td>
1585<td class="parameter_annotations"> </td>
1586</tr>
1587<tr>
1588<td class="parameter_name"><p>v3</p></td>
1589<td class="parameter_description"><p>fourth value to set</p></td>
1590<td class="parameter_annotations"> </td>
1591</tr>
1592</tbody>
1593</table></div>
1594</div>
1595</div>
1596<hr>
1597<div class="refsect2">
1598<a name="gst-gl-shader-set-uniform-4fv"></a><h3>gst_gl_shader_set_uniform_4fv ()</h3>
1599<pre class="programlisting"><span class="returnvalue">void</span>
1600gst_gl_shader_set_uniform_4fv (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1601                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1602                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> count</code></em>,
1603                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
1604<p>Perform <code class="function">glUniform4fv()</code> for <em class="parameter"><code>name</code></em>
1605 on <em class="parameter"><code>shader</code></em>
1606</p>
1607<div class="refsect3">
1608<a name="gst-gl-shader-set-uniform-4fv.parameters"></a><h4>Parameters</h4>
1609<div class="informaltable"><table class="informaltable" width="100%" border="0">
1610<colgroup>
1611<col width="150px" class="parameters_name">
1612<col class="parameters_description">
1613<col width="200px" class="parameters_annotations">
1614</colgroup>
1615<tbody>
1616<tr>
1617<td class="parameter_name"><p>shader</p></td>
1618<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1619<td class="parameter_annotations"> </td>
1620</tr>
1621<tr>
1622<td class="parameter_name"><p>name</p></td>
1623<td class="parameter_description"><p>name of the uniform</p></td>
1624<td class="parameter_annotations"> </td>
1625</tr>
1626<tr>
1627<td class="parameter_name"><p>count</p></td>
1628<td class="parameter_description"><p>number of values to set</p></td>
1629<td class="parameter_annotations"> </td>
1630</tr>
1631<tr>
1632<td class="parameter_name"><p>value</p></td>
1633<td class="parameter_description"><p>values to set. </p></td>
1634<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count]</span></td>
1635</tr>
1636</tbody>
1637</table></div>
1638</div>
1639</div>
1640<hr>
1641<div class="refsect2">
1642<a name="gst-gl-shader-set-uniform-4i"></a><h3>gst_gl_shader_set_uniform_4i ()</h3>
1643<pre class="programlisting"><span class="returnvalue">void</span>
1644gst_gl_shader_set_uniform_4i (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1645                              <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1646                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v0</code></em>,
1647                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v1</code></em>,
1648                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v2</code></em>,
1649                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> v3</code></em>);</pre>
1650<p>Perform <code class="function">glUniform4i()</code> for <em class="parameter"><code>name</code></em>
1651 on <em class="parameter"><code>shader</code></em>
1652</p>
1653<div class="refsect3">
1654<a name="gst-gl-shader-set-uniform-4i.parameters"></a><h4>Parameters</h4>
1655<div class="informaltable"><table class="informaltable" width="100%" border="0">
1656<colgroup>
1657<col width="150px" class="parameters_name">
1658<col class="parameters_description">
1659<col width="200px" class="parameters_annotations">
1660</colgroup>
1661<tbody>
1662<tr>
1663<td class="parameter_name"><p>shader</p></td>
1664<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1665<td class="parameter_annotations"> </td>
1666</tr>
1667<tr>
1668<td class="parameter_name"><p>name</p></td>
1669<td class="parameter_description"><p>name of the uniform</p></td>
1670<td class="parameter_annotations"> </td>
1671</tr>
1672<tr>
1673<td class="parameter_name"><p>v0</p></td>
1674<td class="parameter_description"><p>first value to set</p></td>
1675<td class="parameter_annotations"> </td>
1676</tr>
1677<tr>
1678<td class="parameter_name"><p>v1</p></td>
1679<td class="parameter_description"><p>second value to set</p></td>
1680<td class="parameter_annotations"> </td>
1681</tr>
1682<tr>
1683<td class="parameter_name"><p>v2</p></td>
1684<td class="parameter_description"><p>third value to set</p></td>
1685<td class="parameter_annotations"> </td>
1686</tr>
1687<tr>
1688<td class="parameter_name"><p>v3</p></td>
1689<td class="parameter_description"><p>fourth value to set</p></td>
1690<td class="parameter_annotations"> </td>
1691</tr>
1692</tbody>
1693</table></div>
1694</div>
1695</div>
1696<hr>
1697<div class="refsect2">
1698<a name="gst-gl-shader-set-uniform-4iv"></a><h3>gst_gl_shader_set_uniform_4iv ()</h3>
1699<pre class="programlisting"><span class="returnvalue">void</span>
1700gst_gl_shader_set_uniform_4iv (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1701                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1702                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> count</code></em>,
1703                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *value</code></em>);</pre>
1704<p>Perform <code class="function">glUniform4iv()</code> for <em class="parameter"><code>name</code></em>
1705 on <em class="parameter"><code>shader</code></em>
1706</p>
1707<div class="refsect3">
1708<a name="gst-gl-shader-set-uniform-4iv.parameters"></a><h4>Parameters</h4>
1709<div class="informaltable"><table class="informaltable" width="100%" border="0">
1710<colgroup>
1711<col width="150px" class="parameters_name">
1712<col class="parameters_description">
1713<col width="200px" class="parameters_annotations">
1714</colgroup>
1715<tbody>
1716<tr>
1717<td class="parameter_name"><p>shader</p></td>
1718<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1719<td class="parameter_annotations"> </td>
1720</tr>
1721<tr>
1722<td class="parameter_name"><p>name</p></td>
1723<td class="parameter_description"><p>name of the uniform</p></td>
1724<td class="parameter_annotations"> </td>
1725</tr>
1726<tr>
1727<td class="parameter_name"><p>count</p></td>
1728<td class="parameter_description"><p>number of values to set</p></td>
1729<td class="parameter_annotations"> </td>
1730</tr>
1731<tr>
1732<td class="parameter_name"><p>value</p></td>
1733<td class="parameter_description"><p>values to set. </p></td>
1734<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=count]</span></td>
1735</tr>
1736</tbody>
1737</table></div>
1738</div>
1739</div>
1740<hr>
1741<div class="refsect2">
1742<a name="gst-gl-shader-set-uniform-matrix-2fv"></a><h3>gst_gl_shader_set_uniform_matrix_2fv ()</h3>
1743<pre class="programlisting"><span class="returnvalue">void</span>
1744gst_gl_shader_set_uniform_matrix_2fv (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1745                                      <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1746                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count</code></em>,
1747                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> transpose</code></em>,
1748                                      <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
1749<p>Perform <code class="function">glUniformMatrix2fv()</code> for <em class="parameter"><code>name</code></em>
1750 on <em class="parameter"><code>shader</code></em>
1751</p>
1752<div class="refsect3">
1753<a name="gst-gl-shader-set-uniform-matrix-2fv.parameters"></a><h4>Parameters</h4>
1754<div class="informaltable"><table class="informaltable" width="100%" border="0">
1755<colgroup>
1756<col width="150px" class="parameters_name">
1757<col class="parameters_description">
1758<col width="200px" class="parameters_annotations">
1759</colgroup>
1760<tbody>
1761<tr>
1762<td class="parameter_name"><p>shader</p></td>
1763<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1764<td class="parameter_annotations"> </td>
1765</tr>
1766<tr>
1767<td class="parameter_name"><p>name</p></td>
1768<td class="parameter_description"><p>name of the uniform</p></td>
1769<td class="parameter_annotations"> </td>
1770</tr>
1771<tr>
1772<td class="parameter_name"><p>count</p></td>
1773<td class="parameter_description"><p>number of 2x2 matrices to set</p></td>
1774<td class="parameter_annotations"> </td>
1775</tr>
1776<tr>
1777<td class="parameter_name"><p>transpose</p></td>
1778<td class="parameter_description"><p>transpose the matrix</p></td>
1779<td class="parameter_annotations"> </td>
1780</tr>
1781<tr>
1782<td class="parameter_name"><p>value</p></td>
1783<td class="parameter_description"><p>matrix to set</p></td>
1784<td class="parameter_annotations"> </td>
1785</tr>
1786</tbody>
1787</table></div>
1788</div>
1789</div>
1790<hr>
1791<div class="refsect2">
1792<a name="gst-gl-shader-set-uniform-matrix-2x3fv"></a><h3>gst_gl_shader_set_uniform_matrix_2x3fv ()</h3>
1793<pre class="programlisting"><span class="returnvalue">void</span>
1794gst_gl_shader_set_uniform_matrix_2x3fv
1795                               (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1796                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1797                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count</code></em>,
1798                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> transpose</code></em>,
1799                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
1800<p>Perform <code class="function">glUniformMatrix2x3fv()</code> for <em class="parameter"><code>name</code></em>
1801 on <em class="parameter"><code>shader</code></em>
1802</p>
1803<div class="refsect3">
1804<a name="gst-gl-shader-set-uniform-matrix-2x3fv.parameters"></a><h4>Parameters</h4>
1805<div class="informaltable"><table class="informaltable" width="100%" border="0">
1806<colgroup>
1807<col width="150px" class="parameters_name">
1808<col class="parameters_description">
1809<col width="200px" class="parameters_annotations">
1810</colgroup>
1811<tbody>
1812<tr>
1813<td class="parameter_name"><p>shader</p></td>
1814<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1815<td class="parameter_annotations"> </td>
1816</tr>
1817<tr>
1818<td class="parameter_name"><p>name</p></td>
1819<td class="parameter_description"><p>name of the uniform</p></td>
1820<td class="parameter_annotations"> </td>
1821</tr>
1822<tr>
1823<td class="parameter_name"><p>count</p></td>
1824<td class="parameter_description"><p>number of 2x3 matrices to set</p></td>
1825<td class="parameter_annotations"> </td>
1826</tr>
1827<tr>
1828<td class="parameter_name"><p>transpose</p></td>
1829<td class="parameter_description"><p>transpose the matrix</p></td>
1830<td class="parameter_annotations"> </td>
1831</tr>
1832<tr>
1833<td class="parameter_name"><p>value</p></td>
1834<td class="parameter_description"><p>values to set</p></td>
1835<td class="parameter_annotations"> </td>
1836</tr>
1837</tbody>
1838</table></div>
1839</div>
1840</div>
1841<hr>
1842<div class="refsect2">
1843<a name="gst-gl-shader-set-uniform-matrix-2x4fv"></a><h3>gst_gl_shader_set_uniform_matrix_2x4fv ()</h3>
1844<pre class="programlisting"><span class="returnvalue">void</span>
1845gst_gl_shader_set_uniform_matrix_2x4fv
1846                               (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1847                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1848                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count</code></em>,
1849                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> transpose</code></em>,
1850                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
1851<p>Perform <code class="function">glUniformMatrix2x4fv()</code> for <em class="parameter"><code>name</code></em>
1852 on <em class="parameter"><code>shader</code></em>
1853</p>
1854<div class="refsect3">
1855<a name="gst-gl-shader-set-uniform-matrix-2x4fv.parameters"></a><h4>Parameters</h4>
1856<div class="informaltable"><table class="informaltable" width="100%" border="0">
1857<colgroup>
1858<col width="150px" class="parameters_name">
1859<col class="parameters_description">
1860<col width="200px" class="parameters_annotations">
1861</colgroup>
1862<tbody>
1863<tr>
1864<td class="parameter_name"><p>shader</p></td>
1865<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1866<td class="parameter_annotations"> </td>
1867</tr>
1868<tr>
1869<td class="parameter_name"><p>name</p></td>
1870<td class="parameter_description"><p>name of the uniform</p></td>
1871<td class="parameter_annotations"> </td>
1872</tr>
1873<tr>
1874<td class="parameter_name"><p>count</p></td>
1875<td class="parameter_description"><p>number of 2x4 matrices to set</p></td>
1876<td class="parameter_annotations"> </td>
1877</tr>
1878<tr>
1879<td class="parameter_name"><p>transpose</p></td>
1880<td class="parameter_description"><p>transpose the matrix</p></td>
1881<td class="parameter_annotations"> </td>
1882</tr>
1883<tr>
1884<td class="parameter_name"><p>value</p></td>
1885<td class="parameter_description"><p>values to set</p></td>
1886<td class="parameter_annotations"> </td>
1887</tr>
1888</tbody>
1889</table></div>
1890</div>
1891</div>
1892<hr>
1893<div class="refsect2">
1894<a name="gst-gl-shader-set-uniform-matrix-3fv"></a><h3>gst_gl_shader_set_uniform_matrix_3fv ()</h3>
1895<pre class="programlisting"><span class="returnvalue">void</span>
1896gst_gl_shader_set_uniform_matrix_3fv (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1897                                      <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1898                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count</code></em>,
1899                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> transpose</code></em>,
1900                                      <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
1901<p>Perform <code class="function">glUniformMatrix3fv()</code> for <em class="parameter"><code>name</code></em>
1902 on <em class="parameter"><code>shader</code></em>
1903</p>
1904<div class="refsect3">
1905<a name="gst-gl-shader-set-uniform-matrix-3fv.parameters"></a><h4>Parameters</h4>
1906<div class="informaltable"><table class="informaltable" width="100%" border="0">
1907<colgroup>
1908<col width="150px" class="parameters_name">
1909<col class="parameters_description">
1910<col width="200px" class="parameters_annotations">
1911</colgroup>
1912<tbody>
1913<tr>
1914<td class="parameter_name"><p>shader</p></td>
1915<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1916<td class="parameter_annotations"> </td>
1917</tr>
1918<tr>
1919<td class="parameter_name"><p>name</p></td>
1920<td class="parameter_description"><p>name of the uniform</p></td>
1921<td class="parameter_annotations"> </td>
1922</tr>
1923<tr>
1924<td class="parameter_name"><p>count</p></td>
1925<td class="parameter_description"><p>number of 3x3 matrices to set</p></td>
1926<td class="parameter_annotations"> </td>
1927</tr>
1928<tr>
1929<td class="parameter_name"><p>transpose</p></td>
1930<td class="parameter_description"><p>transpose the matrix</p></td>
1931<td class="parameter_annotations"> </td>
1932</tr>
1933<tr>
1934<td class="parameter_name"><p>value</p></td>
1935<td class="parameter_description"><p>values to set</p></td>
1936<td class="parameter_annotations"> </td>
1937</tr>
1938</tbody>
1939</table></div>
1940</div>
1941</div>
1942<hr>
1943<div class="refsect2">
1944<a name="gst-gl-shader-set-uniform-matrix-3x2fv"></a><h3>gst_gl_shader_set_uniform_matrix_3x2fv ()</h3>
1945<pre class="programlisting"><span class="returnvalue">void</span>
1946gst_gl_shader_set_uniform_matrix_3x2fv
1947                               (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1948                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
1949                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count</code></em>,
1950                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> transpose</code></em>,
1951                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
1952<p>Perform <code class="function">glUniformMatrix3x2fv()</code> for <em class="parameter"><code>name</code></em>
1953 on <em class="parameter"><code>shader</code></em>
1954</p>
1955<div class="refsect3">
1956<a name="gst-gl-shader-set-uniform-matrix-3x2fv.parameters"></a><h4>Parameters</h4>
1957<div class="informaltable"><table class="informaltable" width="100%" border="0">
1958<colgroup>
1959<col width="150px" class="parameters_name">
1960<col class="parameters_description">
1961<col width="200px" class="parameters_annotations">
1962</colgroup>
1963<tbody>
1964<tr>
1965<td class="parameter_name"><p>shader</p></td>
1966<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
1967<td class="parameter_annotations"> </td>
1968</tr>
1969<tr>
1970<td class="parameter_name"><p>name</p></td>
1971<td class="parameter_description"><p>name of the uniform</p></td>
1972<td class="parameter_annotations"> </td>
1973</tr>
1974<tr>
1975<td class="parameter_name"><p>count</p></td>
1976<td class="parameter_description"><p>number of 3x2 matrices to set</p></td>
1977<td class="parameter_annotations"> </td>
1978</tr>
1979<tr>
1980<td class="parameter_name"><p>transpose</p></td>
1981<td class="parameter_description"><p>transpose the matrix</p></td>
1982<td class="parameter_annotations"> </td>
1983</tr>
1984<tr>
1985<td class="parameter_name"><p>value</p></td>
1986<td class="parameter_description"><p>values to set</p></td>
1987<td class="parameter_annotations"> </td>
1988</tr>
1989</tbody>
1990</table></div>
1991</div>
1992</div>
1993<hr>
1994<div class="refsect2">
1995<a name="gst-gl-shader-set-uniform-matrix-3x4fv"></a><h3>gst_gl_shader_set_uniform_matrix_3x4fv ()</h3>
1996<pre class="programlisting"><span class="returnvalue">void</span>
1997gst_gl_shader_set_uniform_matrix_3x4fv
1998                               (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
1999                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
2000                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count</code></em>,
2001                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> transpose</code></em>,
2002                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
2003<p>Perform <code class="function">glUniformMatrix3x4fv()</code> for <em class="parameter"><code>name</code></em>
2004 on <em class="parameter"><code>shader</code></em>
2005</p>
2006<div class="refsect3">
2007<a name="gst-gl-shader-set-uniform-matrix-3x4fv.parameters"></a><h4>Parameters</h4>
2008<div class="informaltable"><table class="informaltable" width="100%" border="0">
2009<colgroup>
2010<col width="150px" class="parameters_name">
2011<col class="parameters_description">
2012<col width="200px" class="parameters_annotations">
2013</colgroup>
2014<tbody>
2015<tr>
2016<td class="parameter_name"><p>shader</p></td>
2017<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
2018<td class="parameter_annotations"> </td>
2019</tr>
2020<tr>
2021<td class="parameter_name"><p>name</p></td>
2022<td class="parameter_description"><p>name of the uniform</p></td>
2023<td class="parameter_annotations"> </td>
2024</tr>
2025<tr>
2026<td class="parameter_name"><p>count</p></td>
2027<td class="parameter_description"><p>number of 3x4 matrices to set</p></td>
2028<td class="parameter_annotations"> </td>
2029</tr>
2030<tr>
2031<td class="parameter_name"><p>transpose</p></td>
2032<td class="parameter_description"><p>transpose the matrix</p></td>
2033<td class="parameter_annotations"> </td>
2034</tr>
2035<tr>
2036<td class="parameter_name"><p>value</p></td>
2037<td class="parameter_description"><p>values to set</p></td>
2038<td class="parameter_annotations"> </td>
2039</tr>
2040</tbody>
2041</table></div>
2042</div>
2043</div>
2044<hr>
2045<div class="refsect2">
2046<a name="gst-gl-shader-set-uniform-matrix-4fv"></a><h3>gst_gl_shader_set_uniform_matrix_4fv ()</h3>
2047<pre class="programlisting"><span class="returnvalue">void</span>
2048gst_gl_shader_set_uniform_matrix_4fv (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
2049                                      <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
2050                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count</code></em>,
2051                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> transpose</code></em>,
2052                                      <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
2053<p>Perform <code class="function">glUniformMatrix4fv()</code> for <em class="parameter"><code>name</code></em>
2054 on <em class="parameter"><code>shader</code></em>
2055</p>
2056<div class="refsect3">
2057<a name="gst-gl-shader-set-uniform-matrix-4fv.parameters"></a><h4>Parameters</h4>
2058<div class="informaltable"><table class="informaltable" width="100%" border="0">
2059<colgroup>
2060<col width="150px" class="parameters_name">
2061<col class="parameters_description">
2062<col width="200px" class="parameters_annotations">
2063</colgroup>
2064<tbody>
2065<tr>
2066<td class="parameter_name"><p>shader</p></td>
2067<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
2068<td class="parameter_annotations"> </td>
2069</tr>
2070<tr>
2071<td class="parameter_name"><p>name</p></td>
2072<td class="parameter_description"><p>name of the uniform</p></td>
2073<td class="parameter_annotations"> </td>
2074</tr>
2075<tr>
2076<td class="parameter_name"><p>count</p></td>
2077<td class="parameter_description"><p>number of 4x4 matrices to set</p></td>
2078<td class="parameter_annotations"> </td>
2079</tr>
2080<tr>
2081<td class="parameter_name"><p>transpose</p></td>
2082<td class="parameter_description"><p>transpose the matrix</p></td>
2083<td class="parameter_annotations"> </td>
2084</tr>
2085<tr>
2086<td class="parameter_name"><p>value</p></td>
2087<td class="parameter_description"><p>values to set</p></td>
2088<td class="parameter_annotations"> </td>
2089</tr>
2090</tbody>
2091</table></div>
2092</div>
2093</div>
2094<hr>
2095<div class="refsect2">
2096<a name="gst-gl-shader-set-uniform-matrix-4x2fv"></a><h3>gst_gl_shader_set_uniform_matrix_4x2fv ()</h3>
2097<pre class="programlisting"><span class="returnvalue">void</span>
2098gst_gl_shader_set_uniform_matrix_4x2fv
2099                               (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
2100                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
2101                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count</code></em>,
2102                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> transpose</code></em>,
2103                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
2104<p>Perform <code class="function">glUniformMatrix4x2fv()</code> for <em class="parameter"><code>name</code></em>
2105 on <em class="parameter"><code>shader</code></em>
2106</p>
2107<div class="refsect3">
2108<a name="gst-gl-shader-set-uniform-matrix-4x2fv.parameters"></a><h4>Parameters</h4>
2109<div class="informaltable"><table class="informaltable" width="100%" border="0">
2110<colgroup>
2111<col width="150px" class="parameters_name">
2112<col class="parameters_description">
2113<col width="200px" class="parameters_annotations">
2114</colgroup>
2115<tbody>
2116<tr>
2117<td class="parameter_name"><p>shader</p></td>
2118<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
2119<td class="parameter_annotations"> </td>
2120</tr>
2121<tr>
2122<td class="parameter_name"><p>name</p></td>
2123<td class="parameter_description"><p>name of the uniform</p></td>
2124<td class="parameter_annotations"> </td>
2125</tr>
2126<tr>
2127<td class="parameter_name"><p>count</p></td>
2128<td class="parameter_description"><p>number of 4x2 matrices to set</p></td>
2129<td class="parameter_annotations"> </td>
2130</tr>
2131<tr>
2132<td class="parameter_name"><p>transpose</p></td>
2133<td class="parameter_description"><p>transpose the matrix</p></td>
2134<td class="parameter_annotations"> </td>
2135</tr>
2136<tr>
2137<td class="parameter_name"><p>value</p></td>
2138<td class="parameter_description"><p>values to set</p></td>
2139<td class="parameter_annotations"> </td>
2140</tr>
2141</tbody>
2142</table></div>
2143</div>
2144</div>
2145<hr>
2146<div class="refsect2">
2147<a name="gst-gl-shader-set-uniform-matrix-4x3fv"></a><h3>gst_gl_shader_set_uniform_matrix_4x3fv ()</h3>
2148<pre class="programlisting"><span class="returnvalue">void</span>
2149gst_gl_shader_set_uniform_matrix_4x3fv
2150                               (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
2151                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
2152                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count</code></em>,
2153                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> transpose</code></em>,
2154                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *value</code></em>);</pre>
2155<p>Perform <code class="function">glUniformMatrix4x3fv()</code> for <em class="parameter"><code>name</code></em>
2156 on <em class="parameter"><code>shader</code></em>
2157</p>
2158<div class="refsect3">
2159<a name="gst-gl-shader-set-uniform-matrix-4x3fv.parameters"></a><h4>Parameters</h4>
2160<div class="informaltable"><table class="informaltable" width="100%" border="0">
2161<colgroup>
2162<col width="150px" class="parameters_name">
2163<col class="parameters_description">
2164<col width="200px" class="parameters_annotations">
2165</colgroup>
2166<tbody>
2167<tr>
2168<td class="parameter_name"><p>shader</p></td>
2169<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
2170<td class="parameter_annotations"> </td>
2171</tr>
2172<tr>
2173<td class="parameter_name"><p>name</p></td>
2174<td class="parameter_description"><p>name of the uniform</p></td>
2175<td class="parameter_annotations"> </td>
2176</tr>
2177<tr>
2178<td class="parameter_name"><p>count</p></td>
2179<td class="parameter_description"><p>number of 4x3 matrices to set</p></td>
2180<td class="parameter_annotations"> </td>
2181</tr>
2182<tr>
2183<td class="parameter_name"><p>transpose</p></td>
2184<td class="parameter_description"><p>transpose the matrix</p></td>
2185<td class="parameter_annotations"> </td>
2186</tr>
2187<tr>
2188<td class="parameter_name"><p>value</p></td>
2189<td class="parameter_description"><p>values to set</p></td>
2190<td class="parameter_annotations"> </td>
2191</tr>
2192</tbody>
2193</table></div>
2194</div>
2195</div>
2196<hr>
2197<div class="refsect2">
2198<a name="gst-gl-shader-get-attribute-location"></a><h3>gst_gl_shader_get_attribute_location ()</h3>
2199<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
2200gst_gl_shader_get_attribute_location (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
2201                                      <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
2202<div class="refsect3">
2203<a name="gst-gl-shader-get-attribute-location.parameters"></a><h4>Parameters</h4>
2204<div class="informaltable"><table class="informaltable" width="100%" border="0">
2205<colgroup>
2206<col width="150px" class="parameters_name">
2207<col class="parameters_description">
2208<col width="200px" class="parameters_annotations">
2209</colgroup>
2210<tbody>
2211<tr>
2212<td class="parameter_name"><p>shader</p></td>
2213<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
2214<td class="parameter_annotations"> </td>
2215</tr>
2216<tr>
2217<td class="parameter_name"><p>name</p></td>
2218<td class="parameter_description"><p>name of the attribute</p></td>
2219<td class="parameter_annotations"> </td>
2220</tr>
2221</tbody>
2222</table></div>
2223</div>
2224<div class="refsect3">
2225<a name="gst-gl-shader-get-attribute-location.returns"></a><h4>Returns</h4>
2226<p> the attribute index for <em class="parameter"><code>name</code></em>
2227in <em class="parameter"><code>shader</code></em>
2228or -1 on failure</p>
2229</div>
2230</div>
2231<hr>
2232<div class="refsect2">
2233<a name="gst-gl-shader-bind-attribute-location"></a><h3>gst_gl_shader_bind_attribute_location ()</h3>
2234<pre class="programlisting"><span class="returnvalue">void</span>
2235gst_gl_shader_bind_attribute_location (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
2236                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index</code></em>,
2237                                       <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
2238<p>Bind attribute <em class="parameter"><code>name</code></em>
2239 to the specified location <em class="parameter"><code>index</code></em>
2240 using
2241<code class="function">glBindAttributeLocation()</code>.</p>
2242<div class="refsect3">
2243<a name="gst-gl-shader-bind-attribute-location.parameters"></a><h4>Parameters</h4>
2244<div class="informaltable"><table class="informaltable" width="100%" border="0">
2245<colgroup>
2246<col width="150px" class="parameters_name">
2247<col class="parameters_description">
2248<col width="200px" class="parameters_annotations">
2249</colgroup>
2250<tbody>
2251<tr>
2252<td class="parameter_name"><p>shader</p></td>
2253<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
2254<td class="parameter_annotations"> </td>
2255</tr>
2256<tr>
2257<td class="parameter_name"><p>index</p></td>
2258<td class="parameter_description"><p>attribute index to set</p></td>
2259<td class="parameter_annotations"> </td>
2260</tr>
2261<tr>
2262<td class="parameter_name"><p>name</p></td>
2263<td class="parameter_description"><p>name of the attribute</p></td>
2264<td class="parameter_annotations"> </td>
2265</tr>
2266</tbody>
2267</table></div>
2268</div>
2269</div>
2270<hr>
2271<div class="refsect2">
2272<a name="gst-gl-shader-bind-frag-data-location"></a><h3>gst_gl_shader_bind_frag_data_location ()</h3>
2273<pre class="programlisting"><span class="returnvalue">void</span>
2274gst_gl_shader_bind_frag_data_location (<em class="parameter"><code><a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a> *shader</code></em>,
2275                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index</code></em>,
2276                                       <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
2277<p>Bind attribute <em class="parameter"><code>name</code></em>
2278 to the specified location <em class="parameter"><code>index</code></em>
2279 using
2280<code class="function">glBindFragDataLocation()</code>.</p>
2281<div class="refsect3">
2282<a name="gst-gl-shader-bind-frag-data-location.parameters"></a><h4>Parameters</h4>
2283<div class="informaltable"><table class="informaltable" width="100%" border="0">
2284<colgroup>
2285<col width="150px" class="parameters_name">
2286<col class="parameters_description">
2287<col width="200px" class="parameters_annotations">
2288</colgroup>
2289<tbody>
2290<tr>
2291<td class="parameter_name"><p>shader</p></td>
2292<td class="parameter_description"><p>a <a class="link" href="GstGLShader.html" title="GstGLShader"><span class="type">GstGLShader</span></a></p></td>
2293<td class="parameter_annotations"> </td>
2294</tr>
2295<tr>
2296<td class="parameter_name"><p>index</p></td>
2297<td class="parameter_description"><p>attribute index to set</p></td>
2298<td class="parameter_annotations"> </td>
2299</tr>
2300<tr>
2301<td class="parameter_name"><p>name</p></td>
2302<td class="parameter_description"><p>name of the attribute</p></td>
2303<td class="parameter_annotations"> </td>
2304</tr>
2305</tbody>
2306</table></div>
2307</div>
2308</div>
2309<hr>
2310<div class="refsect2">
2311<a name="gst-gl-shader-string-fragment-get-default"></a><h3>gst_gl_shader_string_fragment_get_default ()</h3>
2312<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
2313gst_gl_shader_string_fragment_get_default
2314                               (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
2315                                <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="type">GstGLSLVersion</span></a> version</code></em>,
2316                                <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstGLSL.html#GstGLSLProfile" title="enum GstGLSLProfile"><span class="type">GstGLSLProfile</span></a> profile</code></em>);</pre>
2317<div class="refsect3">
2318<a name="gst-gl-shader-string-fragment-get-default.parameters"></a><h4>Parameters</h4>
2319<div class="informaltable"><table class="informaltable" width="100%" border="0">
2320<colgroup>
2321<col width="150px" class="parameters_name">
2322<col class="parameters_description">
2323<col width="200px" class="parameters_annotations">
2324</colgroup>
2325<tbody>
2326<tr>
2327<td class="parameter_name"><p>context</p></td>
2328<td class="parameter_description"><p>a <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a></p></td>
2329<td class="parameter_annotations"> </td>
2330</tr>
2331<tr>
2332<td class="parameter_name"><p>version</p></td>
2333<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="type">GstGLSLVersion</span></a></p></td>
2334<td class="parameter_annotations"> </td>
2335</tr>
2336<tr>
2337<td class="parameter_name"><p>profile</p></td>
2338<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstGLSL.html#GstGLSLProfile" title="enum GstGLSLProfile"><span class="type">GstGLSLProfile</span></a></p></td>
2339<td class="parameter_annotations"> </td>
2340</tr>
2341</tbody>
2342</table></div>
2343</div>
2344<div class="refsect3">
2345<a name="gst-gl-shader-string-fragment-get-default.returns"></a><h4>Returns</h4>
2346<p> a passthrough shader string for copying an input texture to
2347the output</p>
2348</div>
2349<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
2350</div>
2351<hr>
2352<div class="refsect2">
2353<a name="gst-gl-shader-string-fragment-external-oes-get-default"></a><h3>gst_gl_shader_string_fragment_external_oes_get_default ()</h3>
2354<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
2355gst_gl_shader_string_fragment_external_oes_get_default
2356                               (<em class="parameter"><code><a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a> *context</code></em>,
2357                                <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="type">GstGLSLVersion</span></a> version</code></em>,
2358                                <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstGLSL.html#GstGLSLProfile" title="enum GstGLSLProfile"><span class="type">GstGLSLProfile</span></a> profile</code></em>);</pre>
2359<div class="refsect3">
2360<a name="gst-gl-shader-string-fragment-external-oes-get-default.parameters"></a><h4>Parameters</h4>
2361<div class="informaltable"><table class="informaltable" width="100%" border="0">
2362<colgroup>
2363<col width="150px" class="parameters_name">
2364<col class="parameters_description">
2365<col width="200px" class="parameters_annotations">
2366</colgroup>
2367<tbody>
2368<tr>
2369<td class="parameter_name"><p>context</p></td>
2370<td class="parameter_description"><p>a <a class="link" href="GstGLContext.html" title="GstGLContext"><span class="type">GstGLContext</span></a></p></td>
2371<td class="parameter_annotations"> </td>
2372</tr>
2373<tr>
2374<td class="parameter_name"><p>version</p></td>
2375<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstGLSL.html#GstGLSLVersion" title="enum GstGLSLVersion"><span class="type">GstGLSLVersion</span></a></p></td>
2376<td class="parameter_annotations"> </td>
2377</tr>
2378<tr>
2379<td class="parameter_name"><p>profile</p></td>
2380<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstGLSL.html#GstGLSLProfile" title="enum GstGLSLProfile"><span class="type">GstGLSLProfile</span></a></p></td>
2381<td class="parameter_annotations"> </td>
2382</tr>
2383</tbody>
2384</table></div>
2385</div>
2386<div class="refsect3">
2387<a name="gst-gl-shader-string-fragment-external-oes-get-default.returns"></a><h4>Returns</h4>
2388<p> a passthrough shader string for copying an input external-oes
2389texture to the output</p>
2390</div>
2391<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
2392</div>
2393</div>
2394<div class="refsect1">
2395<a name="GstGLShader.other_details"></a><h2>Types and Values</h2>
2396<div class="refsect2">
2397<a name="GstGLShader-struct"></a><h3>GstGLShader</h3>
2398<pre class="programlisting">typedef struct _GstGLShader GstGLShader;</pre>
2399</div>
2400</div>
2401<div class="refsect1">
2402<a name="GstGLShader.property-details"></a><h2>Property Details</h2>
2403<div class="refsect2">
2404<a name="GstGLShader--linked"></a><h3>The <code class="literal">“linked”</code> property</h3>
2405<pre class="programlisting">  “linked”                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
2406<p>Shader link status.</p>
2407<p>Flags: Read</p>
2408<p>Default value: FALSE</p>
2409</div>
2410</div>
2411<div class="refsect1">
2412<a name="GstGLShader.see-also"></a><h2>See Also</h2>
2413<p><a class="link" href="GstGLSLStage.html" title="GstGLSLStage"><span class="type">GstGLSLStage</span></a></p>
2414</div>
2415</div>
2416<div class="footer">
2417<hr>Generated by GTK-Doc V1.28</div>
2418</body>
2419</html>