Skip to content

shader_reset

Vašek edited this page Jan 22, 2019 · 3 revisions

shader_reset

Reset the draw target

Syntax:

shader_reset()

Returns: void

Description:

When you are done drawing in the shader, use this function to reset the draw target from a shader to standard drawing.

Example:

shader_set(shader_get("Shader0"));
//Drawing
shader_reset();

This code will set drawing target to Shader0 and at the end reset the draw target back to basic draw target.

Back to shaders

Clone this wiki locally