Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

AltStyle によって変換されたページ (->オリジナル) /