summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/gl/CLGLTexture.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-08 17:08:03 +0100
committerMichael Bien <[email protected]>2010-03-08 17:08:03 +0100
commite081f13ca50353a7a9c34438a2f81d38e03e88a7 (patch)
tree7948e78a8e73fb4de5340a80075d35a8a1499c1f /src/com/mbien/opencl/gl/CLGLTexture.java
parent5ad19147a76f80635dcae18693929edbf1da2cbf (diff)
introduced gl package and moved all interoperability functionality into it.
Diffstat (limited to 'src/com/mbien/opencl/gl/CLGLTexture.java')
-rw-r--r--src/com/mbien/opencl/gl/CLGLTexture.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/com/mbien/opencl/gl/CLGLTexture.java b/src/com/mbien/opencl/gl/CLGLTexture.java
new file mode 100644
index 00000000..49fe4cb2
--- /dev/null
+++ b/src/com/mbien/opencl/gl/CLGLTexture.java
@@ -0,0 +1,23 @@
+/*
+ * Created on Friday, February 26 2010
+ */
+
+package com.mbien.opencl.gl;
+
+/**
+ *
+ * @author Michael Bien
+ */
+interface CLGLTexture {
+
+ /**
+ * Returns the OpenGL texture target of this texture.
+ */
+ public int getTextureTarget();
+
+ /**
+ * Returns the OpenGL mipmap level of this texture.
+ */
+ public int getMipMapLevel();
+
+}