set_fragment_source


Description:

public void set_fragment_source (string data, ssize_t length)

Sets the GLSL source code to be used by a Shader for the fragment program.

Note:

Use ShaderEffect instead.

Parameters:

this

a Shader

data

GLSL source code.

length

length of source buffer (currently ignored)