Package com.jme3.opencl
Interface OpenCLObject.ObjectReleaser
- Enclosing interface:
- OpenCLObject
public static interface OpenCLObject.ObjectReleaser
Releaser for an
OpenCLObject
.
Implementations of this interface must not hold a reference to the
OpenCLObject
directly.-
Method Summary
Modifier and TypeMethodDescriptionvoid
release()
Releases the native resources of the associatedOpenCLObject
.
-
Method Details
-
release
void release()Releases the native resources of the associatedOpenCLObject
. This method must be guarded against multiple calls: only the first call should release, the next ones must not throw an exception.
-