GObject.Object
GObject.InitiallyUnowned
Clutter.ActorMeta
Clutter.Effect
Clutter.OffscreenEffect
Clutter.ShaderEffect
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterShaderEffect |
Class : | ShaderEffect |
Extends: | Clutter.OffscreenEffect |
Properties | Defined By | |
---|---|---|
actor : Clutter.Actor
read only
The ClutterActor attached to the ClutterActorMeta instance
The ClutterActor attached to the ClutterActorMeta instance
|
Clutter.ActorMeta | |
enabled : gboolean
Whether or not the ClutterActorMeta is enabled
Whether or not the ClutterActorMeta is enabled
|
Clutter.ActorMeta | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
name : String
The unique name to access the ClutterActorMeta
The unique name to access the ClutterActorMeta
|
Clutter.ActorMeta | |
parent_instance : Clutter.OffscreenEffect
read only
|
Clutter.ShaderEffect | |
priv : Clutter.ShaderEffectPrivate
read only
|
Clutter.ShaderEffect | |
qdata : GLib.Data
read only
|
GObject.InitiallyUnowned | |
ref_count : guint32
read only
|
GObject.InitiallyUnowned | |
shader_type : Clutter.ShaderType
The type of shader that is used by the effect.
The type of shader that is used by the effect. This property
should be set by the constructor of ClutterShaderEffect sub-classes. |
Clutter.ShaderEffect |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.ShaderEffect
(Object properties)
Create a new Clutter.ShaderEffect
Create a new Clutter.ShaderEffect
|
||
Clutter.OffscreenEffect | ||
get_actor
()
:
Clutter.Actor
Retrieves a pointer to the ClutterActor that owns meta
Retrieves a pointer to the ClutterActor that owns meta
|
Clutter.ActorMeta | |
get_enabled
()
:
gboolean
Retrieves whether meta is enabled
Retrieves whether meta is enabled
|
Clutter.ActorMeta | |
get_name
()
:
String
Retrieves the name set using clutter_actor_meta_set_name()
instance, or NULL if none was set.
Retrieves the name set using clutter_actor_meta_set_name()
instance, or NULL if none was set. The returned string is owned by the ClutterActorMeta instance and it should not be modified or freed
|
Clutter.ActorMeta | |
get_program
()
:
void*
Retrieves a pointer to the program's handle
or COGL_INVALID_HANDLE
Retrieves a pointer to the program's handle
or COGL_INVALID_HANDLE
|
Clutter.ShaderEffect | |
get_shader
()
:
void*
Retrieves a pointer to the shader's handle
or COGL_INVALID_HANDLE
Retrieves a pointer to the shader's handle
or COGL_INVALID_HANDLE
|
Clutter.ShaderEffect | |
get_target
()
:
Cogl.Material
Retrieves the material used as a render target for the offscreen
buffer created by effect COGL_INVALID_HANDLE.
Retrieves the material used as a render target for the offscreen
buffer created by effect COGL_INVALID_HANDLE. The returned handle is owned by Clutter and it should not be modified or freed
|
Clutter.OffscreenEffect | |
paint_target
()
:
none
Calls the paint_target() virtual function of the effect
Calls the paint_target() virtual function of the effect
|
Clutter.OffscreenEffect | |
set_enabled
(gboolean is_enabled)
:
none
Sets whether meta should be enabled or not
Sets whether meta should be enabled or not
|
Clutter.ActorMeta | |
set_name
(String name)
:
none
Sets the name of meta
The name can be used to identify the ClutterActorMeta instance
Sets the name of meta
The name can be used to identify the ClutterActorMeta instance
|
Clutter.ActorMeta | |
Sets the source of the GLSL shader used by effect
This function should only be called by implementations of the ClutterShaderEffect class, and not by application code.
Sets the source of the GLSL shader used by effect
This function should only be called by implementations of the ClutterShaderEffect class, and not by application code. This function can only be called once; subsequent calls will yield no result.
|
Clutter.ShaderEffect | |
Sets value as the payload for the uniform name inside the shader
effect integer value; G_TYPE_FLOAT, for a single floating point value; CLUTTER_TYPE_SHADER_INT, for an array of integer values; CLUTTER_TYPE_SHADER_FLOAT, for an array of floating point values; and CLUTTER_TYPE_SHADER_MATRIX, for a matrix of floating point values
Sets value as the payload for the uniform name inside the shader
effect integer value; G_TYPE_FLOAT, for a single floating point value; CLUTTER_TYPE_SHADER_INT, for an array of integer values; CLUTTER_TYPE_SHADER_FLOAT, for an array of floating point values; and CLUTTER_TYPE_SHADER_MATRIX, for a matrix of floating point values
|
Clutter.ShaderEffect |
None |