Name | resetShader() |
||
---|---|---|---|
Examples |
size(100, 100, P2D) img = loadImage("apples.jpg") edges = loadShader("blur.glsl") shader(edges) image(img, 0, 0) resetShader() image(img, width / 2, 0) | ||
Description | Restores the default shaders. Code that runs after resetShader() will not be affected by previously defined shaders. | ||
Syntax | resetShader() resetShader(kind) | ||
Parameters |
|
Updated on Mon Sep 21 15:53:25 2020.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License