shader_reset


语法:

shader_reset();


返回:

N/A(无返回值)


描述

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

重要!该函数在试用版(Trial License)产品中可用。


例如:

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.