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_set

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

shader_set

Set a shader for drawing

Syntax:

shader_set(shader)
Argument Description
Effect shader Index of the shader

Returns: void

Description:

This function set the drawing target to the given shader. You can end shader use with function shader_reset.

Example:

shader_set(shader_get("Shader0"));

All further drawings will be done in the Shader0.

Back to shaders

Clone this wiki locally

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