ShaderEffect
Description:
[ CCode ( has_construct_function = false , type = "ClutterEffect*" ) ]
[ Version ( since = "1.8" ) ]
public ShaderEffect (ShaderType shader_type)
[ Version ( since = "1.8" ) ]
public ShaderEffect (ShaderType shader_type)
Creates a new ShaderEffect, to be applied to an actor using add_effect.
The effect will be empty until set_shader_source is called.
Parameters:
shader_type |
the type of the shader, either FRAGMENT_SHADER, or VERTEX_SHADER |
Returns:
the newly created ShaderEffect. Use unref when done. |