summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLResource.java
blob: 63b4749e60d9793ef4d0e424eaaf9b022a5f967c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.jogamp.opencl;

/**
 * Releasable OpenCL resource.
 * @author Michael Bien
 */
public interface CLResource extends Disposable<CLException> {

    /**
     * Releases the OpenCL resource.
     */
    public void release();

    /**
     * Calls {@link #release()};
     * @see #release()
     */
    @Override public void close();

}