GstGLSLStage
GstGLSLStage holds and represents a single OpenGL shader stage.
GstGLSLStage
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstGLSLStage
Opaque GstGLSLStage struct
Class structure
GstGL.GLSLStage
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──GstGL.GLSLStage
Opaque GstGL.GLSLStage struct
GstGL.GLSLStage
GObject.Object ╰──GObject.InitiallyUnowned ╰──Gst.Object ╰──GstGL.GLSLStage
Opaque GstGL.GLSLStage struct
Constructors
gst_glsl_stage_new
GstGLSLStage * gst_glsl_stage_new (GstGLContext * context, guint type)
a new GstGLSLStage of the specified type
Since : 1.8
GstGL.GLSLStage.prototype.new
function GstGL.GLSLStage.prototype.new(context: GstGL.GLContext, type: Number): {
    // javascript wrapper for 'gst_glsl_stage_new'
}
	
		a new GstGL.GLSLStage of the specified type
Since : 1.8
GstGL.GLSLStage.new
def GstGL.GLSLStage.new (context, type):
    #python wrapper for 'gst_glsl_stage_new'
	
		a new GstGL.GLSLStage of the specified type
Since : 1.8
gst_glsl_stage_new_default_fragment
GstGLSLStage * gst_glsl_stage_new_default_fragment (GstGLContext * context)
Parameters:
context
				–
	GstGL.GLSLStage.prototype.new_default_fragment
function GstGL.GLSLStage.prototype.new_default_fragment(context: GstGL.GLContext): {
    // javascript wrapper for 'gst_glsl_stage_new_default_fragment'
}
	Parameters:
context
					(
						GstGL.GLContext
						)
				–
	GstGL.GLSLStage.new_default_fragment
def GstGL.GLSLStage.new_default_fragment (context):
    #python wrapper for 'gst_glsl_stage_new_default_fragment'
	Parameters:
context
					(
						GstGL.GLContext
						)
				–
	gst_glsl_stage_new_default_vertex
GstGLSLStage * gst_glsl_stage_new_default_vertex (GstGLContext * context)
Parameters:
context
				–
	GstGL.GLSLStage.prototype.new_default_vertex
function GstGL.GLSLStage.prototype.new_default_vertex(context: GstGL.GLContext): {
    // javascript wrapper for 'gst_glsl_stage_new_default_vertex'
}
	Parameters:
context
					(
						GstGL.GLContext
						)
				–
	GstGL.GLSLStage.new_default_vertex
def GstGL.GLSLStage.new_default_vertex (context):
    #python wrapper for 'gst_glsl_stage_new_default_vertex'
	Parameters:
context
					(
						GstGL.GLContext
						)
				–
	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
a new GstGLSLStage of the specified type
Since : 1.8
GstGL.GLSLStage.prototype.new_with_string
function GstGL.GLSLStage.prototype.new_with_string(context: GstGL.GLContext, type: Number, version: GstGL.GLSLVersion, profile: GstGL.GLSLProfile, str: String): {
    // javascript wrapper for 'gst_glsl_stage_new_with_string'
}
	Parameters:
context
					(
						GstGL.GLContext
						)
				–
	type
					(
						Number
						)
				–
	the GL enum shader stage type
version
					(
						GstGL.GLSLVersion
						)
				–
	profile
					(
						GstGL.GLSLProfile
						)
				–
	str
					(
						String
						)
				–
	a shader string
a new GstGL.GLSLStage of the specified type
Since : 1.8
GstGL.GLSLStage.new_with_string
def GstGL.GLSLStage.new_with_string (context, type, version, profile, str):
    #python wrapper for 'gst_glsl_stage_new_with_string'
	Parameters:
context
					(
						GstGL.GLContext
						)
				–
	type
					(
						int
						)
				–
	the GL enum shader stage type
version
					(
						GstGL.GLSLVersion
						)
				–
	profile
					(
						GstGL.GLSLProfile
						)
				–
	str
					(
						str
						)
				–
	a shader string
a new GstGL.GLSLStage of the specified type
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
str
				–
	(array length=n_strings): an array of strings concatted together to produce a shader
a new GstGLSLStage of the specified type
Since : 1.8
GstGL.GLSLStage.prototype.new_with_strings
function GstGL.GLSLStage.prototype.new_with_strings(context: GstGL.GLContext, type: Number, version: GstGL.GLSLVersion, profile: GstGL.GLSLProfile, n_strings: Number, str: [ String ]): {
    // javascript wrapper for 'gst_glsl_stage_new_with_strings'
}
	Parameters:
context
					(
						GstGL.GLContext
						)
				–
	type
					(
						Number
						)
				–
	the GL enum shader stage type
version
					(
						GstGL.GLSLVersion
						)
				–
	profile
					(
						GstGL.GLSLProfile
						)
				–
	n_strings
					(
						Number
						)
				–
	the number of strings in str
str
					(
						[ String ]
						)
				–
	(array length=n_strings): an array of strings concatted together to produce a shader
a new GstGL.GLSLStage of the specified type
Since : 1.8
GstGL.GLSLStage.new_with_strings
def GstGL.GLSLStage.new_with_strings (context, type, version, profile, n_strings, str):
    #python wrapper for 'gst_glsl_stage_new_with_strings'
	Parameters:
context
					(
						GstGL.GLContext
						)
				–
	type
					(
						int
						)
				–
	the GL enum shader stage type
version
					(
						GstGL.GLSLVersion
						)
				–
	profile
					(
						GstGL.GLSLProfile
						)
				–
	n_strings
					(
						int
						)
				–
	the number of strings in str
str
					(
						[ str ]
						)
				–
	(array length=n_strings): an array of strings concatted together to produce a shader
a new GstGL.GLSLStage of the specified type
Since : 1.8
Methods
gst_glsl_stage_compile
gboolean gst_glsl_stage_compile (GstGLSLStage * stage, GError ** error)
whether the compilation succeeded
Since : 1.8
GstGL.GLSLStage.prototype.compile
function GstGL.GLSLStage.prototype.compile(): {
    // javascript wrapper for 'gst_glsl_stage_compile'
}
	Parameters:
stage
					(
						GstGL.GLSLStage
						)
				–
	whether the compilation succeeded
Since : 1.8
GstGL.GLSLStage.compile
@raises(GLib.GError)
def GstGL.GLSLStage.compile (self):
    #python wrapper for 'gst_glsl_stage_compile'
	Parameters:
stage
					(
						GstGL.GLSLStage
						)
				–
	whether the compilation succeeded
Since : 1.8
gst_glsl_stage_get_handle
guint gst_glsl_stage_get_handle (GstGLSLStage * stage)
Parameters:
stage
				–
	The GL handle for this shader stage
Since : 1.8
GstGL.GLSLStage.prototype.get_handle
function GstGL.GLSLStage.prototype.get_handle(): {
    // javascript wrapper for 'gst_glsl_stage_get_handle'
}
	Parameters:
stage
					(
						GstGL.GLSLStage
						)
				–
	The GL handle for this shader stage
Since : 1.8
GstGL.GLSLStage.get_handle
def GstGL.GLSLStage.get_handle (self):
    #python wrapper for 'gst_glsl_stage_get_handle'
	Parameters:
stage
					(
						GstGL.GLSLStage
						)
				–
	The GL handle for this shader stage
Since : 1.8
gst_glsl_stage_get_profile
GstGLSLProfile gst_glsl_stage_get_profile (GstGLSLStage * stage)
Parameters:
stage
				–
	The GLSL profile for the current shader stage
Since : 1.8
GstGL.GLSLStage.prototype.get_profile
function GstGL.GLSLStage.prototype.get_profile(): {
    // javascript wrapper for 'gst_glsl_stage_get_profile'
}
	Parameters:
stage
					(
						GstGL.GLSLStage
						)
				–
	The GLSL profile for the current shader stage
Since : 1.8
GstGL.GLSLStage.get_profile
def GstGL.GLSLStage.get_profile (self):
    #python wrapper for 'gst_glsl_stage_get_profile'
	Parameters:
stage
					(
						GstGL.GLSLStage
						)
				–
	The GLSL profile for the current shader stage
Since : 1.8
gst_glsl_stage_get_shader_type
guint gst_glsl_stage_get_shader_type (GstGLSLStage * stage)
Parameters:
stage
				–
	The GL shader type for this shader stage
Since : 1.8
GstGL.GLSLStage.prototype.get_shader_type
function GstGL.GLSLStage.prototype.get_shader_type(): {
    // javascript wrapper for 'gst_glsl_stage_get_shader_type'
}
	Parameters:
stage
					(
						GstGL.GLSLStage
						)
				–
	The GL shader type for this shader stage
Since : 1.8
GstGL.GLSLStage.get_shader_type
def GstGL.GLSLStage.get_shader_type (self):
    #python wrapper for 'gst_glsl_stage_get_shader_type'
	Parameters:
stage
					(
						GstGL.GLSLStage
						)
				–
	The GL shader type for this shader stage
Since : 1.8
gst_glsl_stage_get_version
GstGLSLVersion gst_glsl_stage_get_version (GstGLSLStage * stage)
Parameters:
stage
				–
	The GLSL version for the current shader stage
Since : 1.8
GstGL.GLSLStage.prototype.get_version
function GstGL.GLSLStage.prototype.get_version(): {
    // javascript wrapper for 'gst_glsl_stage_get_version'
}
	Parameters:
stage
					(
						GstGL.GLSLStage
						)
				–
	The GLSL version for the current shader stage
Since : 1.8
GstGL.GLSLStage.get_version
def GstGL.GLSLStage.get_version (self):
    #python wrapper for 'gst_glsl_stage_get_version'
	Parameters:
stage
					(
						GstGL.GLSLStage
						)
				–
	The GLSL version for the current shader stage
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
str
					(
						
[arraylength=n_strings][transfer: none]
						)
				–
	a GLSL shader string
Since : 1.8
GstGL.GLSLStage.prototype.set_strings
function GstGL.GLSLStage.prototype.set_strings(version: GstGL.GLSLVersion, profile: GstGL.GLSLProfile, n_strings: Number, str: [ String ]): {
    // javascript wrapper for 'gst_glsl_stage_set_strings'
}
Replaces the current shader string with str.
Parameters:
stage
					(
						GstGL.GLSLStage
						)
				–
	version
					(
						GstGL.GLSLVersion
						)
				–
	profile
					(
						GstGL.GLSLProfile
						)
				–
	n_strings
					(
						Number
						)
				–
	number of strings in str
str
					(
						[ String ]
						)
				–
	a GLSL shader string
Since : 1.8
GstGL.GLSLStage.set_strings
def GstGL.GLSLStage.set_strings (self, version, profile, n_strings, str):
    #python wrapper for 'gst_glsl_stage_set_strings'
Replaces the current shader string with str.
Parameters:
stage
					(
						GstGL.GLSLStage
						)
				–
	version
					(
						GstGL.GLSLVersion
						)
				–
	profile
					(
						GstGL.GLSLProfile
						)
				–
	n_strings
					(
						int
						)
				–
	number of strings in str
str
					(
						[ str ]
						)
				–
	a GLSL shader string
Since : 1.8
The results of the search are