summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLGLObject.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/mbien/opencl/CLGLObject.java')
-rw-r--r--src/com/mbien/opencl/CLGLObject.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/com/mbien/opencl/CLGLObject.java b/src/com/mbien/opencl/CLGLObject.java
new file mode 100644
index 00000000..044f2274
--- /dev/null
+++ b/src/com/mbien/opencl/CLGLObject.java
@@ -0,0 +1,24 @@
+/*
+ * Created on Friday, February 26 2010
+ */
+package com.mbien.opencl;
+
+import com.mbien.opencl.CLMemory.GLObjectType;
+
+/**
+ *
+ * @author Michael Bien
+ */
+interface CLGLObject {
+
+ /**
+ * Returns the OpenGL object id of this shared object.
+ */
+ public int getGLObjectID();
+
+ /**
+ * Returns the OpenGL buffer type of this shared object.
+ */
+ public GLObjectType getGLObjectType();
+
+}