-
-
Couldn't load subscription status.
- Fork 19
shader_set
Vašek edited this page Jan 22, 2019
·
4 revisions
Set a shader for drawing
shader_set(shader)| Argument | Description |
|---|---|
Effect shader |
Index of the shader |
Returns: void
This function set the drawing target to the given shader. You can end shader use with function shader_reset.
shader_set(shader_get("Shader0"));All further drawings will be done in the Shader0.
Back to shaders