set_shader_source


Description:

public bool set_shader_source (string source)

Sets the source of the GLSL shader used by this

This function should only be called by implementations of the ShaderEffect class, and not by application code.

This function can only be called once; subsequent calls will yield no result.

Parameters:

this

a ShaderEffect

source

the source of a GLSL shader

Returns:

true if the source was set