mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
add filter(PShader) function
This commit is contained in:
@@ -10165,6 +10165,12 @@ public class PApplet extends Applet
|
||||
}
|
||||
|
||||
|
||||
public void filter(Object shader) {
|
||||
if (recorder != null) recorder.filter(shader);
|
||||
g.filter(shader);
|
||||
}
|
||||
|
||||
|
||||
public void bezierVertex(float x2, float y2,
|
||||
float x3, float y3,
|
||||
float x4, float y4) {
|
||||
|
||||
@@ -1536,6 +1536,11 @@ public class PGraphics extends PImage implements PConstants {
|
||||
}
|
||||
|
||||
|
||||
public void filter(Object shader) {
|
||||
showMissingWarning("filter");
|
||||
}
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////
|
||||
|
||||
// CURVE/BEZIER VERTEX HANDLING
|
||||
|
||||
Reference in New Issue
Block a user