diff options
Diffstat (limited to 'src/com/jogamp/opencl/CLResource.java')
-rw-r--r-- | src/com/jogamp/opencl/CLResource.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/jogamp/opencl/CLResource.java b/src/com/jogamp/opencl/CLResource.java index 4918e725..cd14c59c 100644 --- a/src/com/jogamp/opencl/CLResource.java +++ b/src/com/jogamp/opencl/CLResource.java @@ -39,4 +39,8 @@ public interface CLResource { */ public void release(); + /** + * Returns true if {@link #release()} has been called. + */ + public boolean isReleased(); } |