aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/javax/media/opengl/GLArrayData.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/javax/media/opengl/GLArrayData.java')
-rw-r--r--src/classes/javax/media/opengl/GLArrayData.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/classes/javax/media/opengl/GLArrayData.java b/src/classes/javax/media/opengl/GLArrayData.java
index 096506242..bdffa3c44 100644
--- a/src/classes/javax/media/opengl/GLArrayData.java
+++ b/src/classes/javax/media/opengl/GLArrayData.java
@@ -83,6 +83,16 @@ public interface GLArrayData {
public Buffer getBuffer();
/**
+ * Is the buffer written to the GPU ?
+ */
+ public boolean isBufferWritten();
+
+ /**
+ * Marks the buffer written to the GPU
+ */
+ public void setBufferWritten(boolean written);
+
+ /**
* The number of components per element
*/
public int getComponentNumber();