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'
}
Parameters:
the GL enum shader stage type
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'
Parameters:
the GL enum shader stage type
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
–
a new GstGLSLStage with the default fragment shader
Since : 1.8
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:
a new GstGL.GLSLStage with the default fragment shader
Since : 1.8
GstGL.GLSLStage.new_default_fragment
def GstGL.GLSLStage.new_default_fragment (context):
#python wrapper for 'gst_glsl_stage_new_default_fragment'
Parameters:
a new GstGL.GLSLStage with the default fragment shader
Since : 1.8
gst_glsl_stage_new_default_vertex
GstGLSLStage * gst_glsl_stage_new_default_vertex (GstGLContext * context)
Parameters:
context
–
a new GstGLSLStage with the default vertex shader
Since : 1.8
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:
a new GstGL.GLSLStage with the default vertex shader
Since : 1.8
GstGL.GLSLStage.new_default_vertex
def GstGL.GLSLStage.new_default_vertex (context):
#python wrapper for 'gst_glsl_stage_new_default_vertex'
Parameters:
a new GstGL.GLSLStage with the default vertex shader
Since : 1.8
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:
the GL enum shader stage type
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:
the GL enum shader stage type
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:
the GL enum shader stage type
the number of strings in 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
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:
the GL enum shader stage type
the number of strings in 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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
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:
number of strings in str
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:
number of strings in str
a GLSL shader string
Since : 1.8
The results of the search are