Top |
Functions
Functions
gst_glsl_stage_new ()
GstGLSLStage * gst_glsl_stage_new (GstGLContext *context
,guint type
);
Since: 1.8
gst_glsl_stage_new_default_fragment ()
GstGLSLStage *
gst_glsl_stage_new_default_fragment (GstGLContext *context
);
gst_glsl_stage_new_default_vertex ()
GstGLSLStage *
gst_glsl_stage_new_default_vertex (GstGLContext *context
);
gst_glsl_stage_new_with_string ()
GstGLSLStage * gst_glsl_stage_new_with_string (GstGLContext *context
,guint type
,GstGLSLVersion version
,GstGLSLProfile profile
,const gchar *str
);
Parameters
context |
||
type |
the GL enum shader stage type |
|
version |
the GstGLSLVersion |
|
profile |
the GstGLSLProfile |
|
str |
a shader string |
Since: 1.8
gst_glsl_stage_new_with_strings ()
GstGLSLStage * gst_glsl_stage_new_with_strings (GstGLContext *context
,guint type
,GstGLSLVersion version
,GstGLSLProfile profile
,gint n_strings
,const gchar **str
);
Parameters
context |
||
type |
the GL enum shader stage type |
|
version |
the GstGLSLVersion |
|
profile |
the GstGLSLProfile |
|
n_strings |
the number of strings in |
|
str |
an array of strings concatted together to produce a shader |
Since: 1.8
gst_glsl_stage_set_strings ()
gboolean gst_glsl_stage_set_strings (GstGLSLStage *stage
,GstGLSLVersion version
,GstGLSLProfile profile
,gint n_strings
,const gchar **str
);
Replaces the current shader string with str
.
Parameters
stage |
||
version |
||
profile |
||
n_strings |
number of strings in |
|
str |
a GLSL shader string. |
[transfer none] |
Since: 1.8
gst_glsl_stage_compile ()
gboolean gst_glsl_stage_compile (GstGLSLStage *stage
,GError **error
);
Since: 1.8
gst_glsl_stage_get_profile ()
GstGLSLProfile
gst_glsl_stage_get_profile (GstGLSLStage *stage
);
Since: 1.8
gst_glsl_stage_get_shader_type ()
guint
gst_glsl_stage_get_shader_type (GstGLSLStage *stage
);
Since: 1.8
gst_glsl_stage_get_version ()
GstGLSLVersion
gst_glsl_stage_get_version (GstGLSLStage *stage
);
Since: 1.8