Javadoc
Aquires this image object for using. Only call this method if this image
represents a shared object from OpenGL, created with e.g.
Context#bindImage(com.jme3.texture.Image,com.jme3.texture.Texture.Type,int,com.jme3.opencl.MemoryAccess)or variations.
This method must be called before the image is used. After the work is
done, the image must be released by calling
#releaseImageForSharingAsync(com.jme3.opencl.CommandQueue)so that OpenGL can use the image/texture/renderbuffer again.
The generated event object is directly released.
This brings a performance improvement when the resource is e.g. directly
used by a kernel afterwards on the same queue (this implicitly waits for
this action). If you need the event, use
#acquireImageForSharingAsync(com.jme3.opencl.CommandQueue).