diff --git a/android/core/src/processing/core/PImage.java b/android/core/src/processing/core/PImage.java index f87d52c40..4d732e90a 100644 --- a/android/core/src/processing/core/PImage.java +++ b/android/core/src/processing/core/PImage.java @@ -57,7 +57,8 @@ public class PImage implements PConstants, Cloneable { */ public PApplet parent; - public Bitmap bitmap; + protected Bitmap bitmap; + protected GLTexture texture; // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @@ -188,6 +189,16 @@ public class PImage implements PConstants, Cloneable { public Bitmap getBitmap() { return bitmap; } + + + public void setTexture(GLTexture texture) { + this.texture = texture; + } + + + public GLTexture getTexture() { + return texture; + } //////////////////////////////////////////////////////////////