From 8bf697ebee4d74f3067b5e48e2fb98d2e3d33b74 Mon Sep 17 00:00:00 2001 From: benfry Date: Mon, 1 Mar 2010 13:46:09 +0000 Subject: [PATCH] add gltexture stuff --- android/core/src/processing/core/PImage.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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; + } //////////////////////////////////////////////////////////////