shader_reset


Description

This function resets the draw target and should be called when you no longer wish to use the current shader (set using shader_set).


Syntax:

shader_reset();


Returns:

N/A


Example:

shader_set(shader_Glass);
draw_self();
shader_reset();

The above code will set a shader top be used for drawing, then draw the current sprite used for the instance using it.